summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/getloadavg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/getloadavg.c b/lib/getloadavg.c
index 7cc5a903e..6209fef76 100644
--- a/lib/getloadavg.c
+++ b/lib/getloadavg.c
@@ -137,6 +137,10 @@ extern int errno;
#define hpux
#endif
+#if defined (__sun) && !defined (sun)
+#define sun
+#endif
+
#if defined(hp300) && !defined(hpux)
#define MORE_BSD
#endif