Commit da837937 authored by Diego Biurrun's avatar Diego Biurrun

Fix undefined preprocessor directives warnings during 'make checkheaders'.

Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 175da7da
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#ifndef AVFORMAT_NETWORK_H #ifndef AVFORMAT_NETWORK_H
#define AVFORMAT_NETWORK_H #define AVFORMAT_NETWORK_H
#include "config.h"
#if HAVE_WINSOCK2_H #if HAVE_WINSOCK2_H
#include <winsock2.h> #include <winsock2.h>
#include <ws2tcpip.h> #include <ws2tcpip.h>
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
* miscellaneous OS support macros and functions. * miscellaneous OS support macros and functions.
*/ */
#include "config.h"
#ifdef __MINGW32__ #ifdef __MINGW32__
# include <fcntl.h> # include <fcntl.h>
# define lseek(f,p,w) _lseeki64((f), (p), (w)) # define lseek(f,p,w) _lseeki64((f), (p), (w))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment