summaryrefslogtreecommitdiff
path: root/lang/seed7/files/patch-chkccomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/seed7/files/patch-chkccomp.c')
-rw-r--r--lang/seed7/files/patch-chkccomp.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/lang/seed7/files/patch-chkccomp.c b/lang/seed7/files/patch-chkccomp.c
deleted file mode 100644
index 3ec825d35917..000000000000
--- a/lang/seed7/files/patch-chkccomp.c
+++ /dev/null
@@ -1,28 +0,0 @@
---- chkccomp.c.orig 2016-01-28 21:32:12 UTC
-+++ chkccomp.c
-@@ -1925,14 +1925,14 @@ void determineGetaddrlimit (FILE *versio
- int has_getrlimit;
-
- /* determineGetaddrlimit */
-- has_getrlimit = compileAndLinkOk("#include <stdio.h>\n#include <sys/resource.h>\n"
-+ has_getrlimit = compileAndLinkOk("#include <stdio.h>\n#include <sys/types.h>\n#include <sys/resource.h>\n"
- "int main(int argc, char *argv[]){\n"
- "struct rlimit rlim;\n"
- "printf(\"%d\\n\", getrlimit(RLIMIT_STACK, &rlim) == 0);\n"
- "return 0;}\n") && doTest() == 1;
- fprintf(versionFile, "#define HAS_GETRLIMIT %d\n", has_getrlimit);
- if (has_getrlimit) {
-- if (assertCompAndLnk("#include <stdio.h>\n#include <sys/resource.h>\n"
-+ if (assertCompAndLnk("#include <stdio.h>\n#include <sys/types.h>\n#include <sys/resource.h>\n"
- "int main(int argc, char *argv[]){\n"
- "struct rlimit rlim;\n"
- "getrlimit(RLIMIT_STACK, &rlim);"
-@@ -1943,7 +1943,7 @@ void determineGetaddrlimit (FILE *versio
- "return 0;}\n")) {
- fprintf(versionFile, "#define SOFT_STACK_LIMIT %lu\n", (unsigned long) doTest() * 1024);
- } /* if */
-- if (assertCompAndLnk("#include <stdio.h>\n#include <sys/resource.h>\n"
-+ if (assertCompAndLnk("#include <stdio.h>\n#include <sys/types.h>\n#include <sys/resource.h>\n"
- "int main(int argc, char *argv[]){\n"
- "struct rlimit rlim;\n"
- "getrlimit(RLIMIT_STACK, &rlim);"