0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-14 20:04:47 +00:00
Files
packages/libs/pthsem/patches/011-fix-error-check.patch
Rosen Penev 8518af47e6 pthsem: fix compilation with autoconf >= 2.71
Sort of upstream backport.

Remove sjlj patches. These were fixed by overriding the var.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-04-30 14:50:41 +08:00

19 lines
387 B
Diff

--- a/acinclude.m4
+++ b/acinclude.m4
@@ -953,6 +953,7 @@ changequote(<<, >>)dnl
#include <stdio.h>
#include <sys/types.h>
#include <signal.h>
+#include <stdlib>
int main(int argc, char *argv[])
{
@@ -1001,6 +1002,7 @@ changequote(<<, >>)dnl
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
+#include <stdlib.h>
int main(int argc, char *argv[])
{
FILE *fp;