diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/include/system/network.h | 4 | ||||
-rw-r--r-- | source4/lib/replace/replace.h | 4 |
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 |