summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-30 13:04:19 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-30 13:04:19 +0200
commitae5baac932af877cb18df6853d45f033ed9b270f (patch)
treec7323028d822461af56c82442ff894668f8103b1 /st.c
parentst should compile on NetBSD. (diff)
downloadst-ae5baac932af877cb18df6853d45f033ed9b270f.tar.gz
st-ae5baac932af877cb18df6853d45f033ed9b270f.zip
use predefined OS macro instead of uname.
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index af3ec6d..f42797f 100644
--- a/st.c
+++ b/st.c
@@ -20,11 +20,11 @@
20#include <X11/keysym.h> 20#include <X11/keysym.h>
21#include <X11/Xutil.h> 21#include <X11/Xutil.h>
22 22
23#if defined(LINUX) 23#if defined(__linux)
24 #include <pty.h> 24 #include <pty.h>
25#elif defined(OPENBSD) || defined(NETBSD) 25#elif defined(__OpenBSD__) || defined(__NetBSD__)
26 #include <util.h> 26 #include <util.h>
27#elif defined(FREEBSD) 27#elif defined(__FreeBSD__) || defined(__DragonFly__)
28 #include <libutil.h> 28 #include <libutil.h>
29#endif 29#endif
30 30