pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb7398
)
st should compile on NetBSD.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 29 Aug 2010 23:20:38 +0000
(
01:20
+0200)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Sun, 29 Aug 2010 23:20:38 +0000
(
01:20
+0200)
config.mk
patch
|
blob
|
history
st.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index
b41a949
..
f0c7e2e
100644
(file)
--- 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
(file)
--- a/
st.c
+++ b/
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>