Browse Source

ffmpeg: Only include unistd.h if it exists

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Derek Buitenhuis Michael Niedermayer 13 years ago
parent
commit
23a5a24c0f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      ffmpeg.c

+ 5
- 0
ffmpeg.c View File

@@ -31,8 +31,13 @@
#include <errno.h>
#include <limits.h>
#if HAVE_ISATTY
#if HAVE_IO_H
#include <io.h>
#endif
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#endif
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"


Loading…
Cancel
Save