com php-src: Update php_network.h: main/php_network .h

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    464742bd2a9ce765d8b0be4ba6897c3e5accd6fe
Author:    Alexander Ilyin <[email protected]>         Tue, 18 Apr 2017 02:44:34 -0700
Committer: Joe Watkins <[email protected]>      Thu, 20 Apr 2017 06:39:14 +0100
Parents:   32c5b8efd68dd21dd025285e7207dcab7c6319cd
Branches:  PHP-7.0 PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=464742bd2a9ce765d8b0be4ba6897c3e5accd6fe

Log:
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>
  ^
```

Changed paths:
  M  main/php_network.h


Diff:
diff --git a/main/php_network.h b/main/php_network.h
index 6bcf4f0..39035ba 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 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.