Mercurial > libavformat.hg
diff os_support.c @ 3039:1135ef610233 libavformat
Include poll.h instead of sys/poll.h
author | lucabe |
---|---|
date | Wed, 13 Feb 2008 12:51:14 +0000 |
parents | 5e3ba0ab8782 |
children | 68749aaea50f |
line wrap: on
line diff
--- a/os_support.c Wed Feb 13 10:58:16 2008 +0000 +++ b/os_support.c Wed Feb 13 12:51:14 2008 +0000 @@ -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 <winsock2.h> #elif defined (HAVE_SYS_SELECT_H) @@ -83,7 +83,7 @@ #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 @@ return rc; } -#endif /* HAVE_SYS_POLL_H */ +#endif /* HAVE_POLL_H */ #endif /* CONFIG_FFSERVER */