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 #include 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 # define lseek(f,p,w) _lseeki64((f), (p), (w))