aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-24 14:52:46 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-24 14:52:46 +0000
commitda837937c6631ffd37f3bdc7c7d2ddd7658e4c13 (patch)
tree278dc2d2f1b579576fbe4468cfcf791e4ac23bfe
parent175da7dab700e9db3edd90aaf83f9ee3ec6bcbbf (diff)
downloadffmpeg-da837937c6631ffd37f3bdc7c7d2ddd7658e4c13.tar.gz
Fix undefined preprocessor directives warnings during 'make checkheaders'.
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/network.h2
-rw-r--r--libavformat/os_support.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index bd30368137..7af77991d4 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -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>
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 165dc23a06..2425b988c6 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -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))