diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 01:20:38 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 01:20:38 +0200 |
commit | 1ba065d9935da7673afd1b2ceb4b3e4e8f603b83 (patch) | |
tree | 57e611e8c3b1b396e001b047084a2ef8917bc584 | |
parent | bc834723ecf0172f776a9f8f79c0075323986693 (diff) | |
download | st-1ba065d9935da7673afd1b2ceb4b3e4e8f603b83.tar.gz st-1ba065d9935da7673afd1b2ceb4b3e4e8f603b83.tar.bz2 |
st should compile on NetBSD.
-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` #SYSTEM = -DLINUX #SYSTEM = -DOPENBSD #SYSTEM = -DFREEBSD +#SYSTEM = -DNETBSD # flags CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM} @@ -22,7 +22,7 @@ #if defined(LINUX) #include <pty.h> -#elif defined(OPENBSD) +#elif defined(OPENBSD) || defined(NETBSD) #include <util.h> #elif defined(FREEBSD) #include <libutil.h> |