--- Libnet-1.0.2a.orig/include/libnet.h 2010-11-21 16:07:01.833710001 +0100 +++ Libnet-1.0.2a/include/libnet.h 2010-11-21 16:06:30.125710001 +0100 @@ -32,6 +32,17 @@ #ifndef __LIBNET_H #define __LIBNET_H +#include +#if __BYTE_ORDER == __LITTLE_ENDIAN +# define LIBNET_LIL_ENDIAN 1 +#else +# if __BYTE_ORDER == __BIG_ENDIAN +# define LIBNET_BIG_ENDIAN 1 +# else +# error unrecognized __BYTE_ORDER +# endif +#endif + #include #include #include