summaryrefslogtreecommitdiff
path: root/src/plugins/script
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-16 17:46:56 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-16 17:46:56 +0100
commitd920f8745515d97a85d72632f875c08446c17671 (patch)
tree1e04de8c8db6c060b31c95a696ce3c9590dce6e2 /src/plugins/script
parent907e099f86697ffce9da91f10ad4a2c6e21e851d (diff)
downloadweechat-d920f8745515d97a85d72632f875c08446c17671.zip
core: fix some compilation problems on SmartOS
Diffstat (limited to 'src/plugins/script')
-rw-r--r--src/plugins/script/script-repo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/script/script-repo.c b/src/plugins/script/script-repo.c
index 6016f04c8..b9f868653 100644
--- a/src/plugins/script/script-repo.c
+++ b/src/plugins/script/script-repo.c
@@ -23,7 +23,7 @@
* this define is needed for strptime()
* but is not used for OpenBSD, it causes bug with gcrypt (see bug #37373)
*/
-#if !defined(__OpenBSD__)
+#if !defined(__OpenBSD__) && !defined(__sun)
#define _XOPEN_SOURCE 700
#endif