1
0
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:
Sebastien Helleu
2012-09-18 09:47:30 +02:00
parent 7a63b4aa62
commit 9b607d38f5
+6
View File
@@ -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>