Browse Source

tools: include endian.h from byteswap.h to ensure that bswap_* is available

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 37183
Felix Fietkau 12 years ago
parent
commit
0c10f3911d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/include/byteswap.h

+ 2 - 0
tools/include/byteswap.h

@@ -1,3 +1,5 @@
 #if defined(__linux__) || defined(__CYGWIN__) 
 #include_next <byteswap.h>
+#else
+#include <endian.h>
 #endif