]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-cui.c
ui/ncurses: Abstract text-screen code from sysinfo screen
[petitboot] / ui / ncurses / nc-cui.c
index 9427e4a40dad1d97b06dc8c9a52ac8e6b65e07f6..e3422734ebd06d83ec30415b8012c89beb54435a 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 <errno.h>