Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49931 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91391 invoked from network); 19 Oct 2010 15:21:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2010 15:21:41 -0000 Authentication-Results: pb1.pair.com header.from=mamfelt@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mamfelt@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mamfelt@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-ew0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:45529] helo=mail-ew0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/A8-49897-587BDBC4 for ; Tue, 19 Oct 2010 11:21:41 -0400 Received: by ewy24 with SMTP id 24so1652615ewy.29 for ; Tue, 19 Oct 2010 08:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=KORBRdgrMa/88CRXpES1TCECxytMBYCFFsNo5TYzUnQ=; b=HURvzDspkwpiIUbMPwbumLBZI8udU1/5GmJDYQQAKv3q4UNEK3BDRN/gywDSU3b9a3 5+6R384dgogohkypCWsyEz5bXetdcCpBuJ6CStY4gOKsZI9w+fkqot70XId+xhGX9Zin /HYP+2W2Z3CKzEbj10EF3je7KZghK0GpfS1x0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=VP/DRon2hRHhQADBdd+V2KknPOdaWzCwfddsnRgCd+ooeCt7IlwCMsQWB4Ndez90VV E4heAlz5TCWQadHmaVpQHR8s1yab3mZB1N9o62VJkaZWI7J6+FWgivF9lmY8b/kWaHd0 3pw2RMG7w2UTAVHcjeI/R2C9auEj0N48j3xFQ= MIME-Version: 1.0 Received: by 10.213.35.6 with SMTP id n6mr4644007ebd.0.1287501697868; Tue, 19 Oct 2010 08:21:37 -0700 (PDT) Received: by 10.14.47.129 with HTTP; Tue, 19 Oct 2010 08:21:37 -0700 (PDT) Date: Tue, 19 Oct 2010 17:21:37 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=0015174c433859649c0492f9d95e Subject: FYI: minor include issue with older systems - strcasecmp not always in string.h From: mamfelt@gmail.com (Michael Felt) --0015174c433859649c0492f9d95e Content-Type: text/plain; charset=ISO-8859-1 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 +37 #ifdef _AIX +38 /* for AIX433 actually! */ +39 #include +40 #endif +41 +42 #include "zipint.h" +43 +44 ^L --0015174c433859649c0492f9d95e--