aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mk1
-rw-r--r--st.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index b41a949..f0c7e2e 100644
--- a/config.mk
+++ b/config.mk
@@ -19,6 +19,7 @@ SYSTEM = -D`uname | tr a-z A-Z`
19#SYSTEM = -DLINUX 19#SYSTEM = -DLINUX
20#SYSTEM = -DOPENBSD 20#SYSTEM = -DOPENBSD
21#SYSTEM = -DFREEBSD 21#SYSTEM = -DFREEBSD
22#SYSTEM = -DNETBSD
22 23
23# flags 24# flags
24CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM} 25CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
diff --git a/st.c b/st.c
index 436533c..af3ec6d 100644
--- a/st.c
+++ b/st.c
@@ -22,7 +22,7 @@
22 22
23#if defined(LINUX) 23#if defined(LINUX)
24 #include <pty.h> 24 #include <pty.h>
25#elif defined(OPENBSD) 25#elif defined(OPENBSD) || defined(NETBSD)
26 #include <util.h> 26 #include <util.h>
27#elif defined(FREEBSD) 27#elif defined(FREEBSD)
28 #include <libutil.h> 28 #include <libutil.h>