summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 13:14:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:06 -0500
commit5c453f5698add13c859ff0e4cd3e1865a8f08c39 (patch)
treec2313b0658142145932ff79d25736d6640ea0792 /source4/lib
parent10cb61790404cbc7aa5c68d5ed3b14a047615e2b (diff)
downloadsamba-5c453f5698add13c859ff0e4cd3e1865a8f08c39.tar.gz
samba-5c453f5698add13c859ff0e4cd3e1865a8f08c39.tar.bz2
samba-5c453f5698add13c859ff0e4cd3e1865a8f08c39.zip
r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it (This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 13cbc9dfe4..f85c8de634 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -133,6 +133,7 @@ typedef unsigned char u_int8_t;
#ifndef HAVE_SOCKLEN_T
#define socklen_t int
+#define HAVE_SOCKLEN_T 1
#endif
#endif