From: foobar Date: Tue, 26 Mar 2002 00:16:01 +0000 (+0000) Subject: MFH the use of correct header file -fix X-Git-Tag: php-4.2.0RC2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b411094dbad6ca2f07b3a79bb286efc518f4cd9;p=php MFH the use of correct header file -fix --- 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) {