openbsd-ports/print/a2ps/patches/patch-lib_quotearg_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
337 B
Plaintext

$OpenBSD: patch-lib_quotearg_c,v 1.1 2009/01/07 17:51:16 jasper Exp $
--- lib/quotearg.c.orig Wed Jan 7 18:33:26 2009
+++ lib/quotearg.c Wed Jan 7 18:34:52 2009
@@ -67,6 +67,10 @@
# define mbstate_t int
#endif
+#if HAVE_WCTYPE_H
+# include <wctype.h>
+#endif
+
#define INT_BITS (sizeof (int) * CHAR_BIT)
struct quoting_options