From 3d1ebac8f73875860020d5d7b6929fd1048374d2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 14 Dec 2009 23:23:09 +0000 Subject: [PATCH] Define _XOPEN_SOURCE as 600 before including a XSI extension header. Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavdevice/x11grab.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index ff37d76..6099327 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -35,6 +35,8 @@ * and Edouard Gomez . */ +#define _XOPEN_SOURCE 600 + #include "config.h" #include "libavformat/avformat.h" #include -- 2.7.4