]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-boot-editor.c
discover: Bring down configured interfaces on discover server exit.
[petitboot] / ui / ncurses / nc-boot-editor.c
index 57cc0dc1cfac4eb6bfd3761123f4962f3f8a5238..90bd0037fca9f65c662c1d91e6f6afec983e000f 100644 (file)
@@ -16,9 +16,9 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#if defined(HAVE_CONFIG_H)
 #include "config.h"
-
-#define _GNU_SOURCE
+#endif
 
 #include <assert.h>
 #include <string.h>