You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/libxvid: add HAVE_UNISTD_H around #include <unistd.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -26,7 +26,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <xvid.h>
|
#include <xvid.h>
|
||||||
#include <unistd.h>
|
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "libavutil/file.h"
|
#include "libavutil/file.h"
|
||||||
@@ -36,6 +35,10 @@
|
|||||||
#include "libxvid.h"
|
#include "libxvid.h"
|
||||||
#include "mpegvideo.h"
|
#include "mpegvideo.h"
|
||||||
|
|
||||||
|
#if HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Buffer management macros.
|
* Buffer management macros.
|
||||||
*/
|
*/
|
||||||
|
@@ -22,13 +22,16 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <xvid.h>
|
#include <xvid.h>
|
||||||
#include <unistd.h>
|
|
||||||
#include "libavutil/attributes.h"
|
#include "libavutil/attributes.h"
|
||||||
#include "libavutil/file.h"
|
#include "libavutil/file.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "libxvid.h"
|
#include "libxvid.h"
|
||||||
#include "mpegvideo.h"
|
#include "mpegvideo.h"
|
||||||
|
|
||||||
|
#if HAVE_UNISTD_H
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef NDEBUG
|
#undef NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user