cvs: php4(PHP_4_2_0) /ext/xmlrpc/libxmlrpc encodings.c
| From: | Jani Taskinen | Date: | Tue, 26 Mar 2002 00:16:00 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/xmlrpc/libxmlrpc encodings.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10686@lists.php.net to get a copy of this message | ||
sniper Mon Mar 25 19:16:00 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/xmlrpc/libxmlrpc encodings.c
Log:
MFH the use of correct header file -fix
Index: php4/ext/xmlrpc/libxmlrpc/encodings.c
diff -u php4/ext/xmlrpc/libxmlrpc/encodings.c:1.1 php4/ext/xmlrpc/libxmlrpc/encodings.c:1.1.4.1
--- php4/ext/xmlrpc/libxmlrpc/encodings.c:1.1 Thu Sep 6 00:13:29 2001
+++ php4/ext/xmlrpc/libxmlrpc/encodings.c Mon Mar 25 19:16:00 2002
@@ -31,10 +31,16 @@
*/
-static const char rcsid[] = "#(@) $Id: encodings.c,v 1.1 2001/09/06 04:13:29 danda Exp
$";
+static const char rcsid[] = "#(@) $Id: encodings.c,v 1.1.4.1 2002/03/26 00:16:00 sniper Exp
$";
#include <errno.h>
+
+#ifdef HAVE_GICONV_H
+#include <giconv.h>
+#else
#include <iconv.h>
+#endif
+
#include "encodings.h"
static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char*
to_enc) {