summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--getloadavg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getloadavg.c b/getloadavg.c
index 1fe78bd..1285408 100644
--- a/getloadavg.c
+++ b/getloadavg.c
@@ -141,7 +141,7 @@ extern int errno;
#define decstation
#endif
-#if defined(sun) && defined(SVR4)
+#if (defined(sun) && defined(SVR4)) || defined (SOLARIS2)
#define SUNOS_5
#endif