From: suga at netbsd dot com dot br
Operating system: NetBSD
PHP version: 4.3.3
PHP Bug Type: Compile Failure
Bug description: ncurses includes in ext/ncurses/php_ncurses.h conflicts with BSD curses.

Description:
------------
When compiling PHP under NetBSD with '--with-ncurses', the build will fail
when ext/ncurses/php_ncurses.h includes <curses.h>, which is actually BSD
curses and NOT ncurses.
For the process to work under NetBSD, it's necessary to replace "curses.h"
with "ncurses.h" in that file, like:

--- php_ncurses.h.old Fri Oct 3 20:33:08 2003
+++ php_ncurses.h Fri Oct 3 20:40:03 2003
-19,7 +19,7
#ifndef PHP_NCURSES_H
#define PHP_NCURSES_H

-#include <curses.h>
+#include <ncurses.h>

extern int le_ncurses_windows;



--
Edit bug report at [url]http://bugs.php.net/?id=25752&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25752&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25752&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25752&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25752&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25752&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25752&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25752&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25752&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25752&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25752&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25752&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25752&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25752&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25752&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25752&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=25752&r=float[/url]