X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fos_support.c;h=cc109d596759bade308d61d24d0a5f901d8c7dc3;hb=61559562f52f9cfaf050500342c5bbba9ece3ce9;hp=025797b942d85a539e3432134d4e78feeb8d21c6;hpb=81644c2ee08899301efc852281efea4e3b8f7d11;p=ffmpeg diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 025797b942d..cc109d59675 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -26,7 +26,7 @@ #include "os_support.h" #ifdef CONFIG_NETWORK -#ifndef HAVE_SYS_POLL_H +#ifndef HAVE_POLL_H #ifdef HAVE_WINSOCK2_H #include #elif defined (HAVE_SYS_SELECT_H) @@ -83,7 +83,7 @@ int ff_socket_nonblock(int socket, int enable) #endif /* CONFIG_NETWORK */ #ifdef CONFIG_FFSERVER -#ifndef HAVE_SYS_POLL_H +#ifndef HAVE_POLL_H int poll(struct pollfd *fds, nfds_t numfds, int timeout) { fd_set read_set; @@ -150,6 +150,6 @@ int poll(struct pollfd *fds, nfds_t numfds, int timeout) return rc; } -#endif /* HAVE_SYS_POLL_H */ +#endif /* HAVE_POLL_H */ #endif /* CONFIG_FFSERVER */