[pkg-opensc-commit] [opensc] 131/295: pkcs15-tool: workaround for Apple stupidity
Eric Dorland
eric at moszumanska.debian.org
Sat Jun 24 21:11:23 UTC 2017
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository opensc.
commit 9e6dddb7ddf55ad0245d8d473a0b81a5771ecdb1
Author: Frank Morgner <frankmorgner at gmail.com>
Date: Wed Nov 2 23:25:06 2016 +0100
pkcs15-tool: workaround for Apple stupidity
Fixes https://github.com/OpenSC/OpenSC/issues/886
---
src/tools/pkcs15-tool.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/tools/pkcs15-tool.c b/src/tools/pkcs15-tool.c
index 0bb25c1..4c7be8d 100644
--- a/src/tools/pkcs15-tool.c
+++ b/src/tools/pkcs15-tool.c
@@ -20,7 +20,11 @@
*/
#include "config.h"
+#ifdef __APPLE__
+#define _XOPEN_SOURCE 600
+#else
#define _XOPEN_SOURCE 500
+#endif
#include <assert.h>
#include <ctype.h>
#ifdef _WIN32
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/opensc.git
More information about the pkg-opensc-commit
mailing list