Skip to content

Commit

Permalink
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
Browse files Browse the repository at this point in the history
  • Loading branch information
petk authored and krakjoe committed Jul 17, 2017
1 parent c1504b8 commit 0db20a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ PHP NEWS
(jhdxr)
. Fixed bug #74761 (Unary operator expected error on some systems). (petk)
. Fixed bug #73900 (Use After Free in unserialize() SplFixedArray). (nikic)
. Fixed bug #74913 (fixed incorrect poll.h include). (petk)

- Date:
. Fixed bug #74852 (property_exists returns true on unknown DateInterval
Expand Down
6 changes: 5 additions & 1 deletion sapi/phpdbg/phpdbg.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
# include <sys/select.h>
# include <sys/time.h>
# include <sys/types.h>
# include <sys/poll.h>
# if HAVE_POLL_H
# include <poll.h>
# elif HAVE_SYS_POLL_H
# include <sys/poll.h>
# endif
# include <netinet/in.h>
# include <unistd.h>
# include <arpa/inet.h>
Expand Down

0 comments on commit 0db20a7

Please sign in to comment.