summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getloadavg.c b/src/getloadavg.c
index 52958d4d53f..adc4befeb94 100644
--- a/src/getloadavg.c
+++ b/src/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