|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: peterkokot at gmail dot com
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Feb 21 06:01:29 2024 UTC