]> 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 083d27a7d8022129c9c8f8ffb4f22571e5ce8842..6df044624662f0e678cf079b78f5c196cc5b7481 100644 (file)
@@ -9,15 +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
+#include <atalk/standards.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -36,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"