aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2005-05-14 05:59:26 +0000
committerGisle Vanem <gvanem@broadpark.no>2005-05-14 05:59:26 +0000
commit6a04a03eb5f4b6b10ae6e3d42b9f00937e51d41c (patch)
tree668b9476dfa520695d42a9f344ee77d74f2096cc
parent0c96056a943ee73b95e32208c4f0d2ae9b6e1e48 (diff)
'ssize_t' seems to be a gcc 4.x built-in.
-rw-r--r--lib/config.dj4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/config.dj b/lib/config.dj
index 4b53bd9ae..04cf4db41 100644
--- a/lib/config.dj
+++ b/lib/config.dj
@@ -15,6 +15,7 @@
#define HAVE_BASENAME 1
#define HAVE_CLOSESOCKET 1
#define HAVE_FCNTL_H 1
+#define HAVE_FIONBIO 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETPASS 1
@@ -104,7 +105,10 @@
#define in_addr_t u_long
#define socklen_t int
+
+#if __GNUC__ < 4 /* gcc 4.x built-in ? */
#define ssize_t int
+#endif
#include <stdlib.h>
#include <string.h>