ensure we get explicit definition of various _XOPEN_SOURCE functions we use

Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs
2008-08-14 22:01:59 +00:00
parent b5f46e9340
commit 7246177d80
5 changed files with 18 additions and 1 deletions

View File

@@ -25,6 +25,9 @@
* utils.
*/
/* needed for mkstemp() */
#define _XOPEN_SOURCE 500
#include "libavutil/integer.h"
#include "libavutil/crc.h"
#include "avcodec.h"
@@ -32,6 +35,7 @@
#include "opt.h"
#include "imgconvert.h"
#include "audioconvert.h"
#include <stdlib.h>
#include <stdarg.h>
#include <limits.h>
#include <float.h>