a2ps/a2ps-4.13-includes.patch

28 lines
712 B
Diff
Raw Normal View History

--- a2ps-4.13/lib/path-concat.c.includes 1999-10-10 14:34:46.000000000 -0400
+++ a2ps-4.13/lib/path-concat.c 2004-10-01 08:25:27.048395690 -0400
@@ -26,13 +26,12 @@
#endif
#include <stdio.h>
+#include <stdlib.h>
#if HAVE_STRING_H
# include <string.h>
#endif
#include <sys/types.h>
-char *malloc ();
-
#ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/'
#endif
--- a2ps-4.13/lib/quotearg.c.includes 2000-01-19 03:19:48.000000000 -0500
+++ a2ps-4.13/lib/quotearg.c 2004-10-01 08:30:52.892125379 -0400
@@ -26,6 +26,7 @@
#include <xalloc.h>
#include <ctype.h>
+#include <wctype.h>
#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))
# define ISASCII(c) 1
#else