X-Git-Url: http://git.liburcu.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fcursesdisplay.c;h=9e7afb2bcadf13ce91a45e757d5bd210858980dd;hp=7f52c8b0e88bbc949b28bff376e2283dcca903d5;hb=ec016cb4cf5cc8faa6d09476fb6bc1818da8e8fe;hpb=3e06508b0899221e86b317af0576338c05fde5f2 diff --git a/src/cursesdisplay.c b/src/cursesdisplay.c index 7f52c8b..9e7afb2 100644 --- a/src/cursesdisplay.c +++ b/src/cursesdisplay.c @@ -15,6 +15,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include + +#ifdef HAVE_LIBNCURSES + #include #include #include @@ -1771,3 +1775,5 @@ void init_ncurses() pthread_create(&keyboard_thread, NULL, handle_keyboard, (void *)NULL); } + +#endif /* HAVE_LIBNCURSES */