projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017e67d
)
fix build regression in sysconf for archs with variable page size
author
Rich Felker
<dalias@aerifal.cx>
Fri, 14 Sep 2018 20:25:56 +0000
(16:25 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 14 Sep 2018 20:25:56 +0000
(16:25 -0400)
commit
5ce3737931bb411a8d167356d4d0287b53b0cbdc
removed the inclusion
of libc.h from this file as spurious, but it's needed to get PAGE_SIZE
on archs where PAGE_SIZE is not a constant defined by limits.h.
src/conf/sysconf.c
patch
|
blob
|
history
diff --git
a/src/conf/sysconf.c
b/src/conf/sysconf.c
index 5199ed2966a107d61feaf274da461c8008f0960f..3baaed3226c80d0fd95ab179626019beccdaaa08 100644
(file)
--- a/
src/conf/sysconf.c
+++ b/
src/conf/sysconf.c
@@
-5,6
+5,7
@@
#include <signal.h>
#include <sys/sysinfo.h>
#include "syscall.h"
+#include "libc.h"
#define JT(x) (-256|(x))
#define VER JT(1)