diff libnnchat.h @ 217:7ba4e371e9a6

Add Makefile for OpenBSD, and specific #ifdef'd includes for the platform.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 21 Nov 2010 04:16:55 +0200
parents 2e4850ece456
children 7ae0719f7763
line wrap: on
line diff
--- a/libnnchat.h	Sun Nov 21 04:14:08 2010 +0200
+++ b/libnnchat.h	Sun Nov 21 04:16:55 2010 +0200
@@ -13,6 +13,9 @@
 #include <winsock.h>
 #else
 #include <sys/socket.h>
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 #include <arpa/inet.h>
 #include <netdb.h>
 #endif