]> arthur.barton.de Git - netatalk.git/blobdiff - etc/cnid_dbd/comm.c
Add compat header, from Brad Smith
[netatalk.git] / etc / cnid_dbd / comm.c
index ddbc9855294e72b511f1042566666d71f8dafc7c..6df044624662f0e678cf079b78f5c196cc5b7481 100644 (file)
@@ -9,19 +9,7 @@
 #include "config.h"
 #endif
 
-#ifndef _XOPEN_SOURCE
-# define _XOPEN_SOURCE 600
-#endif
-#ifndef __EXTENSIONS__
-# define __EXTENSIONS__
-#endif
-#ifndef _GNU_SOURCE
-# define _GNU_SOURCE
-#endif
-#ifndef __BSD_VISIBLE
-/* for u_short, u_char, etc. */
-# define __BSD_VISIBLE 1
-#endif
+#include <atalk/standards.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -40,6 +28,7 @@
 #include <atalk/logger.h>
 #include <atalk/util.h>
 #include <atalk/cnid_dbd_private.h>
+#include <atalk/compat.h>
 
 #include "db_param.h"
 #include "usockfd.h"