summaryrefslogtreecommitdiffstats
path: root/src/toptions.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-06-12 08:42:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-06-12 08:42:45 +0200
commit4452138345a859118938f230cc5311864ed55a66 (patch)
tree01c36bf1ed557360673323520bcbf4c80197b4da /src/toptions.c
parent09ed66000a9979bc9e51071151e2ab81f3f17792 (diff)
Always include stdio.h before ncurses header and types.h
Diffstat (limited to 'src/toptions.c')
-rw-r--r--src/toptions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/toptions.c b/src/toptions.c
index 70af73e..00de51f 100644
--- a/src/toptions.c
+++ b/src/toptions.c
@@ -23,13 +23,12 @@
#include <config.h>
#endif
+#include <stdio.h>
#include "types.h"
#include "common.h"
#include "intrf.h"
#ifdef HAVE_NCURSES
#include "intrfn.h"
-#else
-#include <stdio.h>
#endif
#include "log.h"
#include "toptions.h"