[hackers] [st] st should compile on NetBSD. || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Sun, 29 Aug 2010 23:20:59 +0000 (UTC)

changeset: 110:85b3d781b02e
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Mon Aug 30 01:20:38 2010 +0200
files: config.mk st.c
description:
st should compile on NetBSD.

diff -r cbd66a647352 -r 85b3d781b02e config.mk
--- a/config.mk Mon Aug 30 03:12:11 2010 +0200
+++ b/config.mk Mon Aug 30 01:20:38 2010 +0200
@@ -19,6 +19,7 @@
 #SYSTEM = -DLINUX
 #SYSTEM = -DOPENBSD
 #SYSTEM = -DFREEBSD
+#SYSTEM = -DNETBSD
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
diff -r cbd66a647352 -r 85b3d781b02e st.c
--- a/st.c Mon Aug 30 03:12:11 2010 +0200
+++ b/st.c Mon Aug 30 01:20:38 2010 +0200
@@ -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>
Received on Mon Aug 30 2010 - 01:20:59 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 30 2010 - 01:24:06 CEST