summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Ilyin <alexanderilyin@users.noreply.github.com>2017-04-18 02:44:34 -0700
committerJoe Watkins <krakjoe@php.net>2017-04-20 06:39:14 +0100
commit464742bd2a9ce765d8b0be4ba6897c3e5accd6fe (patch)
tree3cc637bed8c23c3a116b3727fe6ce695ab8ee408
parent32c5b8efd68dd21dd025285e7207dcab7c6319cd (diff)
downloadphp-git-464742bd2a9ce765d8b0be4ba6897c3e5accd6fe.tar.gz
Update php_network.h
``` In file included from /usr/local/include/php/main/php_network.h:124:0, from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h> ^ ```
-rw-r--r--main/php_network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_network.h b/main/php_network.h
index 6bcf4f092e..39035bad3d 100644
--- a/main/php_network.h
+++ b/main/php_network.h
@@ -121,7 +121,7 @@ typedef int php_socket_t;
/* #define PHP_USE_POLL_2_EMULATION 1 */
#if defined(HAVE_SYS_POLL_H) && defined(HAVE_POLL)
-# include <sys/poll.h>
+# include <poll.h>
typedef struct pollfd php_pollfd;
#else
typedef struct _php_pollfd {