]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/util/socket.c
Posix/SUS portability cleanup
[netatalk.git] / libatalk / util / socket.c
index c80a023d76225fddc6e69fbce5bfe803e1f57007..88101020f17123901e4ba0d720596e91fa1f1e6d 100644 (file)
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#if !defined(__FreeBSD__) && !defined(__NetBSD__)
-# ifndef _XOPEN_SOURCE
-#  define _XOPEN_SOURCE 600
-# endif
-# ifndef __EXTENSIONS__
-#  define __EXTENSIONS__
-# endif
-# ifndef _GNU_SOURCE
-#  define _GNU_SOURCE
-# endif
-#endif
+#include <atalk/standards.h>
+
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/types.h>