Fix undefined preprocessor directives warnings during 'make checkheaders'.
authorDiego Biurrun <diego@biurrun.de>
Sat, 24 Jan 2009 14:52:46 +0000 (14:52 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 24 Jan 2009 14:52:46 +0000 (14:52 +0000)
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/network.h
libavformat/os_support.h

index bd30368..7af7799 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef AVFORMAT_NETWORK_H
 #define AVFORMAT_NETWORK_H
 
+#include "config.h"
+
 #if HAVE_WINSOCK2_H
 #include <winsock2.h>
 #include <ws2tcpip.h>
index 165dc23..2425b98 100644 (file)
@@ -27,6 +27,8 @@
  * miscellaneous OS support macros and functions.
  */
 
+#include "config.h"
+
 #ifdef __MINGW32__
 #  include <fcntl.h>
 #  define lseek(f,p,w) _lseeki64((f), (p), (w))