]> git.lizzy.rs Git - dragonstd.git/blobdiff - number.c
Portable endian.h header
[dragonstd.git] / number.c
index 54a4f9fa421927ae1c8b8a02390b8304eeb35a96..e8d4d1085c49b84c395ee3a0ea9e6d6b8ff635bc 100644 (file)
--- a/number.c
+++ b/number.c
@@ -1,6 +1,10 @@
 #include <stdio.h>
 #include <unistd.h>
+#ifdef DRAGONTYPE_ENDIAN_HEADER
+#include DRAGONTYPE_ENDIAN_HEADER
+#else
 #include <endian.h>
+#endif
 #include <poll.h>
 #include "number.h"