tools/configurator: fix test for /proc/self/maps.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 27 Mar 2012 03:45:18 +0000 (14:15 +1030)
committerRusty 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

index d5a23c2a8503ec39ffd38e842ec45baaf5a51637..812b1b0316ff22632f71d9fde074e19183cfdf8b 100644 (file)
@@ -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" },