Define _XOPEN_SOURCE as 600 before including a XSI extension header.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 14 Dec 2009 23:23:09 +0000 (23:23 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Mon, 14 Dec 2009 23:23:09 +0000 (23:23 +0000)
Originally committed as revision 20871 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavdevice/x11grab.c

index ff37d76..6099327 100644 (file)
@@ -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>