aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index faf0c31d..3741f461 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -8,9 +8,9 @@ CPP = g++
PKG_CONFIG = pkg-config
PKG_CONFIG_PATH = $PKG_CONFIG_PATH
ifndef NCURSES
-PLAT_FLAGS = -DGTK
+PLAT_FLAGS = -DGTK -D_XOPEN_SOURCE=700
else
-PLAT_FLAGS = -DNCURSES
+PLAT_FLAGS = -DNCURSES -D_XOPEN_SOURCE=700
endif
ifdef BSD
PLAT_FLAGS += -D__BSD__
@@ -128,7 +128,7 @@ endif
ifndef NCURSES
LIBS = $(GTKLIBS)
else
-LIBS = -lncursesw -lcdk
+LIBS = -lncurses -lcdk
endif
TEXTADEPT_OBJS = textadept.o