summaryrefslogtreecommitdiff
path: root/textproc/libfyaml/patches/patch-include_libfyaml.h
blob: 03f68cdd998d65e9ab3541950549cca6749125da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-include_libfyaml.h,v 1.1 2022/12/08 19:16:20 khorben Exp $

Replace <alloca.h> by <stdlib.h>
Already merged upstream (https://github.com/pantoniou/libfyaml/pull/50)

--- include/libfyaml.h.orig	2022-01-19 10:32:21.000000000 +0000
+++ include/libfyaml.h
@@ -37,7 +37,7 @@ extern "C" {
 #include <stdarg.h>
 #include <stdio.h>
 #include <string.h>
-#include <alloca.h>
+#include <stdlib.h>
 
 #if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
 #include <unistd.h>