From d0feff2a5b9bfb75f21387ce0d52618d524d6015 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 29 Sep 2008 06:22:12 +0000 Subject: [PATCH] =?UTF-8?q?Uniformly=20define=20=5FXOPEN=5FSOURCE=20to=206?= =?UTF-8?q?00.=20The=20feature=5Ftests.h=20header=20from=20Sun=20systems?= =?UTF-8?q?=20(Solaris/OpenSolaris)=20will=20abort=20the=20build=20if=20?= =?UTF-8?q?=5FXOPEN=5FSOURCE=20is=20defined=20to=20500,=20and=20C99=20is?= =?UTF-8?q?=20requested=20(as=20well=20as=20POSIX.1-2001),=20and=20will=20?= =?UTF-8?q?only=20accept=20it=20to=20be=20defined=20to=20600.=20inspired?= =?UTF-8?q?=20by=20a=20patch=20from=20Diego=20Petten=C3=B2,=20flameeyes=20?= =?UTF-8?q?gmail=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- libavcodec/utils.c | 2 +- libavformat/rtpdec.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 31e9a0e158..c64100c7af 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -20,7 +20,7 @@ */ /* needed for usleep() */ -#define _XOPEN_SOURCE 500 +#define _XOPEN_SOURCE 600 #include "config.h" #include diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e56b9870a5..155978744a 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -26,7 +26,7 @@ */ /* needed for mkstemp() */ -#define _XOPEN_SOURCE 500 +#define _XOPEN_SOURCE 600 #include "libavutil/integer.h" #include "libavutil/crc.h" diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 9fb06ee5ab..119682041d 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -20,7 +20,7 @@ */ /* needed for gethostname() */ -#define _XOPEN_SOURCE 500 +#define _XOPEN_SOURCE 600 #include "libavcodec/bitstream.h" #include "avformat.h"