summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--jet2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c77dda8..688d2da 100644
--- a/Makefile
+++ b/Makefile
@@ -8,4 +8,4 @@ jet: Makefile *.cpp
g++ $(FLAGS) jet.cpp -o jet
jet2: Makefile *.cpp
- g++ $(FLAGS) -lncurses $(shell pkg-config --cflags --libs ncurses) jet2.cpp -o jet2
+ g++ $(FLAGS) -lncurses -lncursesw $(shell pkg-config --cflags ncurses) jet2.cpp -o jet2
diff --git a/jet2.cpp b/jet2.cpp
index 1a088dd..fc4fcaa 100644
--- a/jet2.cpp
+++ b/jet2.cpp
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <string.h>
-#include <curses.h>
+#include <cursesw.h>
#include <sys/types.h>
#include <sys/socket.h>