Commit aee1d498 authored by Rusty Russell's avatar Rusty Russell

tools/configurator: fix test for /proc/self/maps.

Header file was wrong, suncc gives warning about missing open prototype, causing configurator to fail.
parent b175cfcf
......@@ -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" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment