Source

pecl-event / src / common.h

Diff from to

File src/common.h

 #include <php_network.h>
 #include <php_streams.h>
 
-#ifdef AF_UNIX
+#if !defined(PHP_WIN32) && defined(AF_UNIX)
 # include <sys/un.h>
 #endif
 
 # include <event2/bufferevent_ssl.h>
 #endif
 
-#if !defined(_WIN32) && !defined(_MINIX)
+#if !defined(_MINIX)
 # include <pthread.h>
 #endif