Index: trunk/Ohana/src/libkapa/include/kapa.h
===================================================================
--- trunk/Ohana/src/libkapa/include/kapa.h	(revision 27790)
+++ trunk/Ohana/src/libkapa/include/kapa.h	(revision 29537)
@@ -12,4 +12,11 @@
 # include <png.h>
 # include <dvo.h>
+
+/* if we are not correctly including the ohana headers, this will fail */
+# ifndef BYTE_SWAP
+# ifndef NOT_BYTE_SWAP
+# error "neither BYTE_SWAP not NOT_BYTE_SWAP is set"
+# endif
+# endif
 
 typedef struct sockaddr_in KapaSockAddress;
