all repos — st @ bef87acd0d0e22ba4689be6f1c39ce2d90812317

st (suckless terminal) config

st should compile on NetBSD.
Aurélien Aptel aurelien.aptel@gmail.com
commit

bef87acd0d0e22ba4689be6f1c39ce2d90812317

parent

1bb7398f4b9e38e1c42157717a9dc420bc645d2d

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M config.mkconfig.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}
M st.cst.c

@@ -22,7 +22,7 @@ #include <X11/Xutil.h>

#if defined(LINUX) #include <pty.h> -#elif defined(OPENBSD) +#elif defined(OPENBSD) || defined(NETBSD) #include <util.h> #elif defined(FREEBSD) #include <libutil.h>