diff options
-rw-r--r-- | config.mk | 1 | ||||
-rw-r--r-- | st.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |
24 | CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM} | 25 | CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM} |
@@ -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> |