projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b175cfc
)
tools/configurator: fix test for /proc/self/maps.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:18 +0000
(14:15 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:18 +0000
(14:15 +1030)
Header file was wrong, suncc gives warning about missing open prototype, causing configurator to fail.
tools/configurator/configurator.c
patch
|
blob
|
history
diff --git
a/tools/configurator/configurator.c
b/tools/configurator/configurator.c
index d5a23c2a8503ec39ffd38e842ec45baaf5a51637..812b1b0316ff22632f71d9fde074e19183cfdf8b 100644
(file)
--- a/
tools/configurator/configurator.c
+++ b/
tools/configurator/configurator.c
@@
-164,7
+164,7
@@
static struct test tests[] = {
{ "HAVE_PROC_SELF_MAPS", DEFINES_EVERYTHING|EXECUTE, NULL,
"#include <sys/types.h>\n"
"#include <sys/stat.h>\n"
- "#include <
sys/
fcntl.h>\n"
+ "#include <fcntl.h>\n"
"int main(void) {\n"
" return open(\"/proc/self/maps\", O_RDONLY) != -1 ? 0 : 1;\n"
"}\n" },