summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/replace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index 48e46ba18e..13cbc9dfe4 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -131,4 +131,8 @@ typedef unsigned short u_int16_t;
typedef unsigned char u_int8_t;
#endif
+#ifndef HAVE_SOCKLEN_T
+#define socklen_t int
+#endif
+
#endif