summaryrefslogtreecommitdiffstats
path: root/src/geometryn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:23:24 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-15 18:23:24 +0200
commit06a90fa1c261c34922b3450bb32b0fcbf8c24d56 (patch)
tree195b59abb333cc534c86bf5cfec5d7752180d7c7 /src/geometryn.c
parent816032140813972e230863a002b4acd1b15d2bcf (diff)
Compilation fix when curses interface is missing
Diffstat (limited to 'src/geometryn.c')
-rw-r--r--src/geometryn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geometryn.c b/src/geometryn.c
index c80c6b7..9b98f0d 100644
--- a/src/geometryn.c
+++ b/src/geometryn.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#ifdef HAVE_NCURSES
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -33,9 +34,7 @@
#include "types.h"
#include "common.h"
#include "intrf.h"
-#ifdef HAVE_NCURSES
#include "intrfn.h"
-#endif
#include "log.h"
#include "hdaccess.h"
#include "autoset.h"
@@ -186,3 +185,4 @@ int change_geometry_ncurses(disk_t *disk_car)
}
return 0;
}
+#endif