]> git.ozlabs.org Git - petitboot/blobdiff - discover/paths.c
configure: Use AC_GNU_SOURCE
[petitboot] / discover / paths.c
index 64b218e820d2f06ec508584a7b4a2fddea0fc5b6..0c8cc8b0d4c1a84596c66ab1f27073cff5446435 100644 (file)
@@ -1,4 +1,6 @@
-#define _GNU_SOURCE
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
 
 #include <assert.h>
 #include <string.h>