From: foobar Date: Tue, 26 Mar 2002 00:14:27 +0000 (+0000) Subject: - Use correct header file. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1038 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=edb03cdbb4ddeffd2b642e5dae9c935455140783;p=php - Use correct header file. --- diff --git a/ext/rpc/xmlrpc/libxmlrpc/encodings.c b/ext/rpc/xmlrpc/libxmlrpc/encodings.c index 544cfa2559..9999b96c88 100644 --- a/ext/rpc/xmlrpc/libxmlrpc/encodings.c +++ b/ext/rpc/xmlrpc/libxmlrpc/encodings.c @@ -34,7 +34,13 @@ static const char rcsid[] = "#(@) $Id$"; #include + +#ifdef HAVE_GICONV_H +#include +#else #include +#endif + #include "encodings.h" static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) { diff --git a/ext/xmlrpc/libxmlrpc/encodings.c b/ext/xmlrpc/libxmlrpc/encodings.c index 544cfa2559..9999b96c88 100644 --- a/ext/xmlrpc/libxmlrpc/encodings.c +++ b/ext/xmlrpc/libxmlrpc/encodings.c @@ -34,7 +34,13 @@ static const char rcsid[] = "#(@) $Id$"; #include + +#ifdef HAVE_GICONV_H +#include +#else #include +#endif + #include "encodings.h" static char* convert(const char* src, int src_len, int *new_len, const char* from_enc, const char* to_enc) {