pk/st
1
0
mirror of https://github.com/pikami/st.git synced 2025-04-08 18:51:47 +01:00

st should compile on NetBSD.

This commit is contained in:
Aurélien Aptel 2010-08-30 01:20:38 +02:00
parent bc834723ec
commit 1ba065d993
2 changed files with 2 additions and 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}

2
st.c

@ -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>