summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-12-14 23:23:09 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-12-14 23:23:09 +0000
commit3d1ebac8f73875860020d5d7b6929fd1048374d2 (patch)
tree256dc7e4b35b3cce81234f4154db445371dfacc9 /libavdevice
parent01558ee6c9038d10e36b16f52bd50391e5637ef4 (diff)
Define _XOPEN_SOURCE as 600 before including a XSI extension header.
Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/x11grab.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c
index ff37d762a6..60993276f5 100644
--- a/libavdevice/x11grab.c
+++ b/libavdevice/x11grab.c
@@ -35,6 +35,8 @@
* and Edouard Gomez <ed.gomez@free.fr>.
*/
+#define _XOPEN_SOURCE 600
+
#include "config.h"
#include "libavformat/avformat.h"
#include <time.h>