X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftop.c;h=a457e0803c9b12c2cbb8c39a300aa70e2e30fc2c;hb=386c1aff08a3ce6e295931e2fcf4bfc607053ff0;hp=b71bcb855cd9e817a46d02300a25ff391125207e;hpb=79e9a4f743b7b59fed968575f6b36171cf4a0063;p=tinc diff --git a/src/top.c b/src/top.c index b71bcb85..a457e080 100644 --- a/src/top.c +++ b/src/top.c @@ -19,6 +19,8 @@ #include "system.h" +#ifdef HAVE_CURSES + #include #include "control_common.h" @@ -310,3 +312,5 @@ void top(int fd) { endwin(); } + +#endif