aboutsummaryrefslogtreecommitdiff
path: root/iemnet.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-01 09:51:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-01 09:51:44 +0000
commit63bdacb86309b9f5b1736cf689e8924374e5fe79 (patch)
tree13d91ee388608607f2ee98a0eab45d0f418bc96e /iemnet.h
parenteb21f8c518afdafd2110d8a9735159d4d0396ef0 (diff)
include stdlib.h
on OSX (10.4) you cannot use INADDR_ANY without types, which are not provided by the header that defines INADDR_ANY... svn path=/trunk/externals/iem/iemnet/; revision=13342
Diffstat (limited to 'iemnet.h')
-rw-r--r--iemnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/iemnet.h b/iemnet.h
index 38e4bec..c155d1d 100644
--- a/iemnet.h
+++ b/iemnet.h
@@ -52,6 +52,9 @@ EXTERN void sys_rmpollfn(int fd);
# include <sys/socket.h>
#endif
+/* for types.h; esp. needed on OSX 10.4 */
+#include <stdlib.h>
+
/* iemnet_data.c */
/**