summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-19 07:25:01 +0000
committerJim Meyering <jim@meyering.net>2000-06-19 07:25:01 +0000
commit243036c5fb05a1c700f0549cf3b2fa5afbd4ec4f (patch)
treefac742c30897868d625acd65b2a300b12933a8cf
parent5debbcc139ecbcd32bba9ff1887e6b0ab8df7427 (diff)
downloadcoreutils-243036c5fb05a1c700f0549cf3b2fa5afbd4ec4f.tar.xz
[HAVE_NLIST_H] (NLIST_STRUCT): Define.
-rw-r--r--lib/getloadavg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/getloadavg.c b/lib/getloadavg.c
index 8acb58692..e9c4c0889 100644
--- a/lib/getloadavg.c
+++ b/lib/getloadavg.c
@@ -308,6 +308,12 @@ extern int errno;
# define LDAV_CVT(n) (((double) (n)) / FSCALE)
# endif
+# ifndef NLIST_STRUCT
+# if HAVE_NLIST_H
+# define NLIST_STRUCT
+# endif
+# endif
+
/* VAX C can't handle multi-line #ifs, or lines longer that 256 characters. */
# ifndef NLIST_STRUCT