summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2016-05-07 10:04:09 -0400
committerQuentin Carbonneaux2016-05-07 10:04:09 -0400
commitc3722d014fe734bd6e7cb97cf1352f9822811c97 (patch)
treedf7750b0c32964a05b362baab818e0a11c84e2a2
parentf1a2b62b2f4d47de58152a1834fa5a8b971dd6d9 (diff)
this is horrible, build on openbsd
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac958dd..19f92e6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
BIN = irc
-CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE
+CFLAGS = -std=c99 -Os -D_POSIX_C_SOURCE=201112 -D_GNU_SOURCE -D_XOPEN_CURSES -D_XOPEN_SOURCE_EXTENDED=1 -D_BSD_SOURCE
LDFLAGS = -lncursesw
all: ${BIN}