Skip to content
Snippets Groups Projects
Commit 39ea2171 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/libxvid: add HAVE_UNISTD_H around #include <unistd.h>

parent 0ebcf878
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,6 @@
*/
#include <xvid.h>
#include <unistd.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/file.h"
......@@ -36,6 +35,10 @@
#include "libxvid.h"
#include "mpegvideo.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
/**
* Buffer management macros.
*/
......
......@@ -22,13 +22,16 @@
#include "config.h"
#include <xvid.h>
#include <unistd.h>
#include "libavutil/attributes.h"
#include "libavutil/file.h"
#include "avcodec.h"
#include "libxvid.h"
#include "mpegvideo.h"
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#undef NDEBUG
#include <assert.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment