summaryrefslogtreecommitdiff
path: root/getloadavg.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-07-22 21:35:43 +0000
committerRichard M. Stallman <rms@gnu.org>1997-07-22 21:35:43 +0000
commit806c7aa46c95f1c36a2cb37ef92c1b058ea48860 (patch)
treea31d6342ecc75e470e48ea36fc3d4b0cca2ef3d3 /getloadavg.c
parent47daa6787e9f24edd4fb0816c01faabac94cfed0 (diff)
downloadgunmake-806c7aa46c95f1c36a2cb37ef92c1b058ea48860.tar.gz
Test `__unix' along with `unix'.
Diffstat (limited to 'getloadavg.c')
-rw-r--r--getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 52958d4..adc4bef 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -81,7 +81,7 @@
/* Both the Emacs and non-Emacs sections want this. Some
configuration files' definitions for the LOAD_AVE_CVT macro (like
sparc.h's) use macros like FSCALE, defined here. */
-#ifdef unix
+#if defined (unix) || defined (__unix)
# include <sys/param.h>
#endif