]> git.meshlink.io Git - meshlink/blobdiff - src/top.c
Don't use AM_CONDITIONAL for CURSES.
[meshlink] / src / top.c
index b71bcb855cd9e817a46d02300a25ff391125207e..a457e0803c9b12c2cbb8c39a300aa70e2e30fc2c 100644 (file)
--- a/src/top.c
+++ b/src/top.c
@@ -19,6 +19,8 @@
 
 #include "system.h"
 
+#ifdef HAVE_CURSES
+
 #include <curses.h>
 
 #include "control_common.h"
@@ -310,3 +312,5 @@ void top(int fd) {
 
        endwin();
 }
+
+#endif