aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 667c3833..b8e45a1f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -98,7 +98,7 @@ ifneq (, $(or $(findstring Linux, $(kernel)), $(findstring BSD, $(kernel))))
gtk_libs = $(shell pkg-config --libs gtk+-$(gtk_version))
install_targets = ../textadept ../textadeptjit
else
- plat_flag = -DCURSES
+ plat_flag = -DCURSES -D_XOPEN_SOURCE_EXTENDED
curses_libs = -lncursesw
install_targets = ../textadept-curses ../textadeptjit-curses
endif