eal: support endianness detection on Windows
[dpdk.git] / lib / librte_eal / include / generic / rte_byteorder.h
index 9ca9609..a67e1d7 100644 (file)
@@ -17,7 +17,7 @@
 #include <stdint.h>
 #ifdef RTE_EXEC_ENV_FREEBSD
 #include <sys/endian.h>
-#else
+#elif defined RTE_EXEC_ENV_LINUX
 #include <endian.h>
 #endif