While performing a build on AIX433 I get the following error.

/data/prj/php-5.2.14/ext/zip/lib/zip_name_locate.c: In function
`_zip_name_locate':
/data/prj/php-5.2.14/ext/zip/lib/zip_name_locate.c:67: error: `strcasecmp'
undeclared (first use in this function)
/data/prj/php-5.2.14/ext/zip/lib/zip_name_locate.c:67: error: (Each
undeclared identifier is reported only once
/data/prj/php-5.2.14/ext/zip/lib/zip_name_locate.c:67: error: for each
function it appears in.)
make: *** [ext/zip/lib/zip_name_locate.lo] Error 1

I am able to fix it with:
File: ext/zip/lib/zip_name_locate.c
   +34  ^L
   +35
   +36  #include <string.h>
   +37  #ifdef _AIX
   +38  /* for AIX433 actually! */
   +39  #include <strings.h>
   +40  #endif
   +41
   +42  #include "zipint.h"
   +43
   +44  ^L

Reply via email to