1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-30 00:46:05 +03:00

#79 Fix build error on OSX 10.6 by Guillaume Rischard

This commit is contained in:
Erik Ekman 2009-09-19 08:32:57 +00:00
parent bcd7c1c15c
commit 7ca260c319
4 changed files with 8 additions and 4 deletions

View File

@ -33,7 +33,8 @@
#else #else
#include <arpa/nameser.h> #include <arpa/nameser.h>
#ifdef DARWIN #ifdef DARWIN
#include <arpa/nameser8_compat.h> #define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif #endif
#include <sys/socket.h> #include <sys/socket.h>
#include <err.h> #include <err.h>

View File

@ -34,7 +34,8 @@
#else #else
#include <arpa/nameser.h> #include <arpa/nameser.h>
#ifdef DARWIN #ifdef DARWIN
#include <arpa/nameser8_compat.h> #define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif #endif
#include <termios.h> #include <termios.h>
#include <err.h> #include <err.h>

View File

@ -27,7 +27,8 @@
#else #else
#include <arpa/nameser.h> #include <arpa/nameser.h>
#ifdef DARWIN #ifdef DARWIN
#include <arpa/nameser8_compat.h> #define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif #endif
#include <arpa/inet.h> #include <arpa/inet.h>
#include <err.h> #include <err.h>

View File

@ -33,7 +33,8 @@
#else #else
#include <arpa/nameser.h> #include <arpa/nameser.h>
#ifdef DARWIN #ifdef DARWIN
#include <arpa/nameser8_compat.h> #define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif #endif
#define _XPG4_2 #define _XPG4_2
#include <sys/socket.h> #include <sys/socket.h>