mirror of
https://github.com/alrayyes/st.git
synced 2024-11-26 04:46:22 +00:00
st should compile on NetBSD.
This commit is contained in:
parent
1bb7398f4b
commit
bef87acd0d
2 changed files with 2 additions and 1 deletions
|
@ -19,6 +19,7 @@ SYSTEM = -D`uname | tr a-z A-Z`
|
||||||
#SYSTEM = -DLINUX
|
#SYSTEM = -DLINUX
|
||||||
#SYSTEM = -DOPENBSD
|
#SYSTEM = -DOPENBSD
|
||||||
#SYSTEM = -DFREEBSD
|
#SYSTEM = -DFREEBSD
|
||||||
|
#SYSTEM = -DNETBSD
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
|
CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
|
||||||
|
|
2
st.c
2
st.c
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#if defined(LINUX)
|
#if defined(LINUX)
|
||||||
#include <pty.h>
|
#include <pty.h>
|
||||||
#elif defined(OPENBSD)
|
#elif defined(OPENBSD) || defined(NETBSD)
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
#elif defined(FREEBSD)
|
#elif defined(FREEBSD)
|
||||||
#include <libutil.h>
|
#include <libutil.h>
|
||||||
|
|
Loading…
Reference in a new issue