From bef87acd0d0e22ba4689be6f1c39ce2d90812317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Aptel?= Date: Mon, 30 Aug 2010 01:20:38 +0200 Subject: [PATCH] st should compile on NetBSD. --- config.mk | 1 + st.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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` #SYSTEM = -DLINUX #SYSTEM = -DOPENBSD #SYSTEM = -DFREEBSD +#SYSTEM = -DNETBSD # flags CPPFLAGS = -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 @@ #if defined(LINUX) #include -#elif defined(OPENBSD) +#elif defined(OPENBSD) || defined(NETBSD) #include #elif defined(FREEBSD) #include