ncurses includes in ext/ncurses/php_ncurses.h conflicts with BSD curses.
| Bug #25752 | ncurses includes in ext/ncurses/php_ncurses.h conflicts with BSD curses. | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-10-03 19:39 UTC | Modified: | 2003-10-03 21:02 UTC | ||
| From: | suga at netbsd dot com dot br | Assigned: | |||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 4.3.3 | OS: | NetBSD | ||
| Private report: | No | CVE-ID: | None | ||
[2003-10-03 19:39 UTC] suga at netbsd dot com dot br
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;
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-10-03 21:02 UTC] sniper@php.net