Browse Source

st should compile on NetBSD.

master
Aurélien Aptel 15 years ago
parent
commit
bef87acd0d
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      config.mk
  2. +1
    -1
      st.c

+ 1
- 0
config.mk View File

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


+ 1
- 1
st.c View File

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


Loading…
Cancel
Save