summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 3f4bedb..a199169 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -92,8 +92,16 @@
#define BB_BIG_ENDIAN 0
#endif
+/* ---- Networking ------------------------------------------ */
+#ifndef __APPLE__
+#include <arpa/inet.h>
+#else
+#include <netinet/in.h>
+#endif
+
/* ---- miscellaneous --------------------------------------- */
/* NLS stuff */
+/* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */
#define _(Text) Text
#define N_(Text) (Text)