0
0
mirror of https://github.com/openwrt/packages.git synced 2025-03-15 00:58:44 +00:00
packages/net/gatling/patches/040-gcc14.patch
Rosen Penev 78a88fa736 gatling: fix compilation with GCC14
Headers are missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-11-10 10:06:41 -08:00

31 lines
552 B
Diff

--- a/common.c
+++ b/common.c
@@ -9,6 +9,7 @@
#include <libowfat/ip6.h>
#include <libowfat/fmt.h>
+#include <alloca.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
--- a/ftp.c
+++ b/ftp.c
@@ -21,6 +21,7 @@
#include <time.h>
#include <dirent.h>
#include <fnmatch.h>
+#include <alloca.h>
#include <assert.h>
#include "havealloca.h"
--- a/pssl.c
+++ b/pssl.c
@@ -2,6 +2,7 @@
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+#include <sys/uio.h>
#include <sys/socket.h>
#include <sys/poll.h>
#include <netdb.h>