#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>
#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"