summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-14 09:23:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:05 -0500
commitc4173f67255f1c620d944bf68d34d577ab433ef1 (patch)
tree9b47ee90149e788424178c53cd00010dfe461584 /source4
parent0fedba63426fdc88db8f57682c8464c42c636e12 (diff)
downloadsamba-c4173f67255f1c620d944bf68d34d577ab433ef1.tar.gz
samba-c4173f67255f1c620d944bf68d34d577ab433ef1.tar.bz2
samba-c4173f67255f1c620d944bf68d34d577ab433ef1.zip
r8458: next target is irix - this gets the socket wrapper code building
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/system/network.h4
-rw-r--r--source4/lib/replace/replace.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/include/system/network.h b/source4/include/system/network.h
index 3d833780ec..83ebf9286f 100644
--- a/source4/include/system/network.h
+++ b/source4/include/system/network.h
@@ -89,10 +89,6 @@
#define MAXHOSTNAMELEN 254
#endif
-#ifndef HAVE_SOCKLEN_T_TYPE
-typedef int socklen_t;
-#endif
-
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001
#endif
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