summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-11 21:31:36 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-11 21:31:36 -0300
commitd4cc43aa36c6522aeb170ff46dc25ce50085e75c (patch)
tree44b7482b1e8fa0cbe6ae48b8bddfd1418320da64
parent86a991ee4306d83c422cc05d1076db50b5d94763 (diff)
downloadjet-d4cc43aa36c6522aeb170ff46dc25ce50085e75c.tar.gz
jet-d4cc43aa36c6522aeb170ff46dc25ce50085e75c.zip
Update build params
-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>