summaryrefslogtreecommitdiff
path: root/devel/gindent/patches/patch-ab
blob: e303a07c818fcac816d8f9cc3b45b9458cdf263c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ab,v 1.9 2016/02/15 09:38:10 jperkin Exp $

Fix includes.

--- man/texinfo2man.c.orig	2008-03-11 18:50:42.000000000 +0000
+++ man/texinfo2man.c
@@ -1,6 +1,12 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef HAVE_MALLOC_H
 #include <malloc.h>
+#endif
 #include <string.h>
 #include <ctype.h>