1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
Index: mxml-2.12/mxmldoc.c
===================================================================
--- mxml-2.12.orig/mxmldoc.c
+++ mxml-2.12/mxmldoc.c
@@ -31,7 +31,15 @@
# include "zipc.h"
#endif /* HAVE_ZLIB_H */
+# ifndef HAVE_STRLCPY
+extern size_t _mxml_strlcpy(char *, const char *, size_t);
+# define strlcpy _mxml_strlcpy
+# endif /* !HAVE_STRLCPY */
+#ifndef HAVE_STRLCAT
+extern size_t _mxml_strlcat( char *, const char *, size_t);
+#define strlcat _mxml_strlcat
+#endif
/*
* This program scans source and header files and produces public API
* documentation for code that conforms to the CUPS Configuration
Index: mxml-2.12/mxml.h
===================================================================
--- mxml-2.12.orig/mxml.h
+++ mxml-2.12/mxml.h
@@ -28,7 +28,7 @@
# include <string.h>
# include <ctype.h>
# include <errno.h>
-
+# include <stdarg.h>
/*
* Constants...
|