openbsd-ports/print/a2ps/patches/patch-lib_title_c
jasper e5e123db33 - add a bunch of missing headers that fix a crash at startup on amd64.
* another example why checking build logs for implicit declarations
  makes sense

crash noticed by claudio@
2009-01-07 17:51:16 +00:00

15 lines
320 B
Plaintext

$OpenBSD: patch-lib_title_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
--- lib/title.c.orig Wed Jan 7 18:35:10 2009
+++ lib/title.c Wed Jan 7 18:35:34 2009
@@ -27,6 +27,10 @@
# include <config.h>
#endif
+#if HAVE_STRING_H
+# include <string.h>
+#endif
+
#include <stdio.h>
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC