ui/ncurses: Use pmenu_item destrutor to free ncurses ITEMs
[petitboot] / ui / twin / pbt-scr.c
index 79f6792e346d33d1ff6c786fffd11a400aa9cd0e..b774f194693932572f7d1e23db9ebc7cb306f05e 100644 (file)
  *  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>