mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Fix undefined preprocessor directives warnings during 'make checkheaders'.
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
175da7dab7
commit
da837937c6
2 changed files with 4 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue