projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b4395b
)
[HAVE_NLIST_H] (NLIST_STRUCT): Define.
author
Jim Meyering
<jim@meyering.net>
Mon, 19 Jun 2000 07:25:01 +0000
(07:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Mon, 19 Jun 2000 07:25:01 +0000
(07:25 +0000)
lib/getloadavg.c
patch
|
blob
|
history
diff --git
a/lib/getloadavg.c
b/lib/getloadavg.c
index
8acb586
..
e9c4c08
100644
(file)
--- 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