diff options
| author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 13:04:19 +0200 | 
|---|---|---|
| committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-30 13:04:19 +0200 | 
| commit | ae5baac932af877cb18df6853d45f033ed9b270f (patch) | |
| tree | c7323028d822461af56c82442ff894668f8103b1 /st.c | |
| parent | bef87acd0d0e22ba4689be6f1c39ce2d90812317 (diff) | |
| download | st-fork-ae5baac932af877cb18df6853d45f033ed9b270f.tar.gz | |
use predefined OS macro instead of uname.
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 6 | 
1 files changed, 3 insertions, 3 deletions
@@ -20,11 +20,11 @@  #include <X11/keysym.h>  #include <X11/Xutil.h> -#if   defined(LINUX) +#if   defined(__linux)   #include <pty.h> -#elif defined(OPENBSD) || defined(NETBSD) +#elif defined(__OpenBSD__) || defined(__NetBSD__)   #include <util.h> -#elif defined(FREEBSD) +#elif defined(__FreeBSD__) || defined(__DragonFly__)   #include <libutil.h>  #endif  | 
