diff options
-rw-r--r-- | src/sysdeps/tryipv6.c | 5 | ||||
-rw-r--r-- | src/sysdeps/trylsock.c | 9 | ||||
-rw-r--r-- | src/sysdeps/trysopeercred.c | 9 |
3 files changed, 4 insertions, 19 deletions
diff --git a/src/sysdeps/tryipv6.c b/src/sysdeps/tryipv6.c index 0c7f306..7a061cc 100644 --- a/src/sysdeps/tryipv6.c +++ b/src/sysdeps/tryipv6.c @@ -7,11 +7,6 @@ #define _XPG6 #include <sys/types.h> - -#if defined(__FreeBSD__) -# include <sys/param.h> -#endif - #include <errno.h> #include <string.h> #include <sys/socket.h> diff --git a/src/sysdeps/trylsock.c b/src/sysdeps/trylsock.c index b5b4413..7e3b501 100644 --- a/src/sysdeps/trylsock.c +++ b/src/sysdeps/trylsock.c @@ -4,19 +4,14 @@ #undef _XOPEN_SOURCE #ifndef _XPG4_2 -# define _XPG4_2 +#define _XPG4_2 #endif #ifndef _GNU_SOURCE -# define _GNU_SOURCE +#define _GNU_SOURCE #endif #include <sys/types.h> - -#if defined(__FreeBSD__) -# include <sys/param.h> -#endif - #include <sys/socket.h> int main (void) diff --git a/src/sysdeps/trysopeercred.c b/src/sysdeps/trysopeercred.c index 0356fcf..a6c6806 100644 --- a/src/sysdeps/trysopeercred.c +++ b/src/sysdeps/trysopeercred.c @@ -4,19 +4,14 @@ #undef _XOPEN_SOURCE #ifndef _XPG4_2 -# define _XPG4_2 +#define _XPG4_2 #endif #ifndef _GNU_SOURCE -# define _GNU_SOURCE +#define _GNU_SOURCE #endif #include <sys/types.h> - -#if defined(__FreeBSD__) -# include <sys/param.h> -#endif - #include <sys/socket.h> #include <sys/un.h> |