Parcourir la source

st should compile on NetBSD.

Aurélien Aptel il y a 14 ans
Parent
commit
bef87acd0d
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      config.mk
  2. 1 1
      st.c

+ 1 - 0
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}

+ 1 - 1
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>