]> git.ozlabs.org Git - petitboot/blobdiff - discover/yaboot-parser.c
configure: Use AC_GNU_SOURCE
[petitboot] / discover / yaboot-parser.c
index f16ac723ff4b7a7f672616d9bd7c96efd9eadb1a..41f43eb614186926ad38dd8bebe1f3b2f6f958d8 100644 (file)
@@ -1,4 +1,6 @@
-#define _GNU_SOURCE
+#if defined(HAVE_CONFIG_H)
+#include "config.h"
+#endif
 
 #include <assert.h>
 #include <stdlib.h>