Mercurial > libavformat.hg
changeset 6237:f0263543b617 libavformat
os_support: include some headers only when needed
author | mru |
---|---|
date | Tue, 06 Jul 2010 11:42:52 +0000 |
parents | 956f2e2cd288 |
children | 7f0042585fe4 |
files | os_support.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/os_support.c Tue Jul 06 11:42:48 2010 +0000 +++ b/os_support.c Tue Jul 06 11:42:52 2010 +0000 @@ -26,13 +26,13 @@ #include "config.h" #include "avformat.h" -#include <unistd.h> -#include <fcntl.h> -#include <sys/time.h> #include "os_support.h" #if CONFIG_NETWORK +#include <fcntl.h> +#include <unistd.h> #if !HAVE_POLL_H +#include <sys/time.h> #if HAVE_WINSOCK2_H #include <winsock2.h> #elif HAVE_SYS_SELECT_H