changeset 4284:40c9bef5b4e2 libavformat

Fix undefined preprocessor directives warnings during 'make checkheaders'.
author diego
date Sat, 24 Jan 2009 14:52:46 +0000
parents 7795d5d87484
children d8803d0a4274
files network.h os_support.h
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/network.h	Sat Jan 24 08:20:42 2009 +0000
+++ b/network.h	Sat Jan 24 14:52:46 2009 +0000
@@ -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>
--- a/os_support.h	Sat Jan 24 08:20:42 2009 +0000
+++ b/os_support.h	Sat Jan 24 14:52:46 2009 +0000
@@ -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))