diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | source3/lib/replace/system/network.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index b084eed40c..4f11e7a093 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1262,8 +1262,4 @@ void exit_server_fault(void) NORETURN_ATTRIBUTE ; #include "libnscd.h" #endif -#ifndef HAVE_SA_FAMILY_T -typedef unsigned short int sa_family_t; -#endif - #endif /* _INCLUDES_H */ diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h index 70c3ec711c..1b442dd602 100644 --- a/source3/lib/replace/system/network.h +++ b/source3/lib/replace/system/network.h @@ -118,4 +118,8 @@ char *rep_inet_ntoa(struct in_addr ip); #define INET6_ADDRSTRLEN 46 #endif +#ifndef HAVE_SA_FAMILY_T +typedef unsigned short int sa_family_t; +#endif + #endif |