script: fix compilation with -O2 (replace define of _GNU_SOURCE by _XOPEN_SOURCE)
This commit is contained in:
parent
4c6ee497aa
commit
3b8cc67f2a
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user