Преглед изворни кода

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 година
родитељ
комит
0c10f3911d
1 измењених фајлова са 2 додато и 0 уклоњено
  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