aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-08-13 10:03:20 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-08-13 10:03:20 +0000
commit29d3ed3be648f07f14eedade868c9318fd63bc3f (patch)
tree6f3b039134006ed82f2241f36ac706b7f2890f56
parent131f1cb2a95b65cb338330fc51f4c24f7e523ebd (diff)
downloadffmpeg-29d3ed3be648f07f14eedade868c9318fd63bc3f.tar.gz
ffserver: SA_RESTART and unsetenv require _XOPEN_SOURCE
Originally committed as revision 14724 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffserver.c2
1 files changed, 2 insertions, 0 deletions
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