mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
script: do not define _XOPEN_SOURCE on OpenBSD (bugs with gcrypt) (bug #37373)
This commit is contained in:
@@ -21,7 +21,13 @@
|
||||
* script-repo.c: download and read repository file (plugins.xml.gz)
|
||||
*/
|
||||
|
||||
/*
|
||||
* this define is needed for strptime()
|
||||
* but is not used for OpenBSD, it causes bug with gcrypt (see bug #37373)
|
||||
*/
|
||||
#if !defined(__OpenBSD__)
|
||||
#define _XOPEN_SOURCE 700
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Reference in New Issue
Block a user