aports/testing/flowd/gcc14.patch
Celeste f04667c6c6 testing/flowd: fix configure script with gcc 14
it looks for exit(3) from stdlib.h
2024-09-30 06:36:48 +00:00

20 lines
515 B
Diff

diff --git a/configure b/configure
index e1145e3..9651e98 100755
--- a/configure
+++ b/configure
@@ -10175,6 +10175,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>
@@ -10254,6 +10255,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/uio.h>