comparison os_support.c @ 2862:5e3ba0ab8782 libavformat

Check for the presence of sys/select.h and conditionally #include it. patch by Michael Kostylev, mik niipt ru
author diego
date Thu, 27 Dec 2007 01:38:50 +0000
parents cbc58d02f912
children 1135ef610233
comparison
equal deleted inserted replaced
2861:e6e210e4581d 2862:5e3ba0ab8782
27 27
28 #ifdef CONFIG_NETWORK 28 #ifdef CONFIG_NETWORK
29 #ifndef HAVE_SYS_POLL_H 29 #ifndef HAVE_SYS_POLL_H
30 #ifdef HAVE_WINSOCK2_H 30 #ifdef HAVE_WINSOCK2_H
31 #include <winsock2.h> 31 #include <winsock2.h>
32 #else 32 #elif defined (HAVE_SYS_SELECT_H)
33 #include <sys/select.h> 33 #include <sys/select.h>
34 #endif 34 #endif
35 #endif 35 #endif
36 36
37 #include "network.h" 37 #include "network.h"