smlinux/net/wavemon/remove-ncurses-headers.patch
2022-02-13 15:56:03 +05:30

17 lines
461 B
Diff

# We utilise netbsd-curses instead of ncurses, and it doesn't create
# /include/ncursesw directory, so we prune the header here
--- a/wavemon.h 2020-12-17 20:08:21.025227111 +0530
+++ b/wavemon.h 2020-12-17 20:08:36.849002476 +0530
@@ -34,12 +34,7 @@
#include <ctype.h>
#include <math.h>
#include <stdbool.h>
-#ifdef HAVE_LIBNCURSESW
-#define _XOPEN_SOURCE_EXTENDED
-#include <ncursesw/curses.h>
-#else
#include <ncurses.h>
-#endif
#include "llist.h"