Files
MSYS2-packages/pkgfile/001-cygwin-alloca.patch
2018-11-26 10:20:49 +03:00

13 lines
314 B
Diff

--- pkgfile-19/src/pkgfile.c.orig 2018-11-26 10:15:54.557508000 +0300
+++ pkgfile-19/src/pkgfile.c 2018-11-26 10:16:07.630330900 +0300
@@ -8,6 +8,9 @@
#include <sys/mman.h>
#include <sys/time.h>
#include <unistd.h>
+#if defined(__CYGWIN__)
+#include <alloca.h>
+#endif
#include "macro.h"
#include "match.h"