pkgsrc/devel/gindent/patches/patch-ab
grant 3448f5ad50 use config.h and friends in man/tgexinfo2man.c, fixes build on
FreeBSD 5 where malloc.h exists but should not be used.
2003-03-24 00:06:57 +00:00

16 lines
315 B
Text

$NetBSD: patch-ab,v 1.7 2003/03/24 00:06:57 grant Exp $
--- man/texinfo2man.c.orig Fri Jan 18 06:28:51 2002
+++ man/texinfo2man.c
@@ -1,5 +1,11 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#include <string.h>
#include <ctype.h>