diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-14 22:01:59 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-08-14 22:01:59 +0000 |
commit | 7246177d806d607c4a31fd59ef355f0f25c7ab36 (patch) | |
tree | 0fa2407ea030bf29795e346ed33306e2ea0a70e9 /libavcodec/utils.c | |
parent | b5f46e93404de4a81d6c5253d6ebed2410e6a7d6 (diff) | |
download | ffmpeg-7246177d806d607c4a31fd59ef355f0f25c7ab36.tar.gz |
ensure we get explicit definition of various _XOPEN_SOURCE functions we use
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 8ca19aed00..6e5c40a588 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -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> |