os_support: include some headers only when needed

Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Måns Rullgård 15 years ago
parent 81f460a373
commit 7fddac9320
  1. 6
      libavformat/os_support.c

@ -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

Loading…
Cancel
Save