script: fix compilation with -O2 (replace define of _GNU_SOURCE by _XOPEN_SOURCE)

This commit is contained in:
Sebastien Helleu 2012-08-15 00:21:01 +02:00
parent 4c6ee497aa
commit 3b8cc67f2a

View File

@ -21,9 +21,7 @@
* script-repo.c: download and read repository file (plugins.xml.gz)
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#define _XOPEN_SOURCE 700
#include <stdlib.h>
#include <unistd.h>