summaryrefslogtreecommitdiffstats
path: root/source/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 13:14:47 +0000
committerAndrew Tridgell <tridge@samba.org>2005-07-14 13:14:47 +0000
commitb25921e96ec0fc962114ee27cf15bade1bd80f70 (patch)
treec4dfa35770c7323fb516cc42f9f58ad26cc5fdbc /source/lib/replace/replace.h
parentb59433eae902dca1ebd464e3dc87de555391b70c (diff)
downloadsamba-b25921e96ec0fc962114ee27cf15bade1bd80f70.tar.gz
samba-b25921e96ec0fc962114ee27cf15bade1bd80f70.tar.xz
samba-b25921e96ec0fc962114ee27cf15bade1bd80f70.zip
r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
Diffstat (limited to 'source/lib/replace/replace.h')
-rw-r--r--source/lib/replace/replace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/replace/replace.h b/source/lib/replace/replace.h
index 13cbc9dfe49..f85c8de634f 100644
--- a/source/lib/replace/replace.h
+++ b/source/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