Browse Source

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

Header file was wrong, suncc gives warning about missing open prototype, causing configurator to fail.
Rusty Russell 14 years ago
parent
commit
aee1d4983e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/configurator/configurator.c

+ 1 - 1
tools/configurator/configurator.c

@@ -164,7 +164,7 @@ static struct test tests[] = {
 	{ "HAVE_PROC_SELF_MAPS", DEFINES_EVERYTHING|EXECUTE, NULL,
 	{ "HAVE_PROC_SELF_MAPS", DEFINES_EVERYTHING|EXECUTE, NULL,
 	  "#include <sys/types.h>\n"
 	  "#include <sys/types.h>\n"
 	  "#include <sys/stat.h>\n"
 	  "#include <sys/stat.h>\n"
-	  "#include <sys/fcntl.h>\n"
+	  "#include <fcntl.h>\n"
 	  "int main(void) {\n"
 	  "int main(void) {\n"
 	  "	return open(\"/proc/self/maps\", O_RDONLY) != -1 ? 0 : 1;\n"
 	  "	return open(\"/proc/self/maps\", O_RDONLY) != -1 ? 0 : 1;\n"
 	  "}\n" },
 	  "}\n" },