diff options
| author | Alexander Barton <alex@barton.de> | 2011-12-24 13:16:38 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-12-24 13:16:38 +0100 |
| commit | e1315f30fd2e1984907dc42cf1fd0370354d4f55 (patch) | |
| tree | 21a706c1a12e57934b9383fcaa92c81f20721609 | |
| parent | 0a85c58878a594ed0b0767771b128d4e288057cf (diff) | |
| download | ngircd-e1315f30fd2e1984907dc42cf1fd0370354d4f55.tar.gz ngircd-e1315f30fd2e1984907dc42cf1fd0370354d4f55.zip | |
define HAVE_GAI_STRERROR for Mac OS X Xcode builds
On Mac OS X 10.7 Lion, this fixes
In file included from .../contrib/MacOSX/../../src/ngircd/client.c:28:
/Developer/SDKs/MacOSX10.7.sdk/usr/include/netdb.h:272:13:
error: expected identifier or '('
| -rw-r--r-- | contrib/MacOSX/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/MacOSX/config.h b/contrib/MacOSX/config.h index 86b460b1..5b47e9da 100644 --- a/contrib/MacOSX/config.h +++ b/contrib/MacOSX/config.h @@ -74,6 +74,8 @@ /* Define to 1 if you have the <netinet/ip.h> header file. */ #define HAVE_NETINET_IP_H 1 +/* Define to 1 if you have the `gai_strerror' function. */ +#define HAVE_GAI_STRERROR 1 /* Define to 1 if you have the `kqueue' function. */ #define HAVE_KQUEUE 1 /* Define to 1 if you have the `inet_ntoa' function. */ |