Bug #17211: zend.h and php.h call unix.h
| From: | japs at adm dot ku dot dk | Date: | Tue, 14 May 2002 15:17:38 +0000 |
| Subject: | Bug #17211: zend.h and php.h call unix.h | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7650@lists.php.net to get a copy of this message | ||
From: japs@adm.ku.dk
Operating system: Linux 8.2
PHP version: 4.2.1
PHP Bug Type: Compile Failure
Bug description: zend.h and php.h call unix.h
zend.h and php.h call /usr/local/include/unix.h
and give a compilation failure in PHP 4.2.1:
In file included from zend.h:55,
from zend_compile.h:24,
from zend_language_parser.c:147:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or
union
In file included from php.h:71,
from main.c:26:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct or
union
The problem can be circumvented by simple removal of "include unix.h" in
zend.h and php.h
Jan P. Sorensen
--
Edit bug report at http://bugs.php.net/?id=17211&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17211&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17211&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17211&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17211&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17211&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17211&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17211&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17211&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17211&r=globals