From 87c2b6cea6347a3514e262d8a641b4e6eb3a77e6 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 24 Aug 2011 12:52:59 +0930 Subject: [PATCH] tdb: don't define _XOPEN_SOURCE ourselves, let config.h do it. This is the CCAN Way. Plus, eliminates a compile warning here. --- ccan/tdb/tdb_private.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ccan/tdb/tdb_private.h b/ccan/tdb/tdb_private.h index babf01bd..4faf8989 100644 --- a/ccan/tdb/tdb_private.h +++ b/ccan/tdb/tdb_private.h @@ -33,7 +33,7 @@ #include "system/select.h" #include "system/wait.h" #else -#define _XOPEN_SOURCE 500 +#include "config.h" #define _FILE_OFFSET_BITS 64 #include #include @@ -46,7 +46,6 @@ #include #include #include -#include "config.h" #endif #include "tdb.h" -- 2.39.2