php.net |  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
Votes:1
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peterkokot at gmail dot com
New email:
PHP Version: OS:

 

 [2017-07-12 19:13 UTC] peterkokot at gmail dot com
Description:
------------
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>

Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-25 08:33 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2017-07-25 08:33 UTC] krakjoe@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Jun 18 13:02:00 2018 UTC