summaryrefslogtreecommitdiff
path: root/devel/gindent/patches/patch-ab
blob: 5692aaf2fc4bb0f6ac0091843ae785c0fdc6412e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.8 2013/12/31 16:14:15 jakllsch Exp $

--- 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>