|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74913 Warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
Submitted: 2017-07-12 19:13 UTC Modified: 2017-07-25 08:33 UTC
Avg. Score:1.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: peterkokot at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: Compile Warning
PHP Version: Irrelevant OS: Alpine 3.6
Private report: No CVE-ID: None
 [2017-07-12 19:13 UTC] peterkokot at gmail dot com
When compiling the poll.h file included in sapi/phpdbg/phpdbg.c file doesn't have check as in some other files (for example, main/network.c) and produces warning with musl libc.

Actual result:
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-25 08:33 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2017-07-25 08:33 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 13:03:41 2023 UTC