From 29d3ed3be648f07f14eedade868c9318fd63bc3f Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 13 Aug 2008 10:03:20 +0000 Subject: [PATCH] ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE Originally committed as revision 14724 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffserver.c b/ffserver.c index ccb5c0ab5c..400009ac69 100644 --- a/ffserver.c +++ b/ffserver.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _XOPEN_SOURCE 600 + #include "config.h" #ifndef HAVE_CLOSESOCKET #define closesocket close