mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
script: fix compilation with -O2 (replace define of _GNU_SOURCE by _XOPEN_SOURCE)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user