projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't call exit_control() if we didn't do init_control().
[tinc]
/
src
/
top.c
diff --git
a/src/top.c
b/src/top.c
index
b71bcb8
..
a457e08
100644
(file)
--- a/
src/top.c
+++ b/
src/top.c
@@
-19,6
+19,8
@@
#include "system.h"
#include "system.h"
+#ifdef HAVE_CURSES
+
#include <curses.h>
#include "control_common.h"
#include <curses.h>
#include "control_common.h"
@@
-310,3
+312,5
@@
void top(int fd) {
endwin();
}
endwin();
}
+
+#endif