[SCM] libav/experimental: Fix undefined preprocessor directives warnings during 'make checkheaders'.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:35:54 UTC 2013


The following commit has been merged in the experimental branch:
commit da837937c6631ffd37f3bdc7c7d2ddd7658e4c13
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sat Jan 24 14:52:46 2009 +0000

    Fix undefined preprocessor directives warnings during 'make checkheaders'.
    
    Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/network.h b/libavformat/network.h
index bd30368..7af7799 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 165dc23..2425b98 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))

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list