aports/testing/gatling/build-fixes.patch
2024-09-24 15:27:38 +00:00

21 lines
375 B
Diff

--- gatling-0.16-origin/tryalloca.c
+++ gatling-0.16/tryalloca.c
@@ -5,7 +5,7 @@
#include <malloc.h>
#endif
-main() {
+int main() {
char* c=alloca(23);
return c!=NULL;
}
--- gatling-0.16-origin/ssl.c
+++ gatling-0.16/ssl.c
@@ -12,6 +12,7 @@
#include <sys/time.h>
#include <sys/stat.h>
#include "dirfd.h"
+#include "havealloca.h"
static int library_inited;