X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Ftop.c;h=a457e0803c9b12c2cbb8c39a300aa70e2e30fc2c;hb=7944cce19e4de4207a4ef20569155118acebd406;hp=b71bcb855cd9e817a46d02300a25ff391125207e;hpb=79e9a4f743b7b59fed968575f6b36171cf4a0063;p=meshlink 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