aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-16 12:29:28 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:46 +0100
commita0df25c10bfc21574d474547bf2f25372bdbb417 (patch)
treeb9e70ed99c7e15461fc9e4b6f8787607ee217550 /NK_C_API.cc
parentfd254e6789bfc00467c94bd210434dc74a7c1f6a (diff)
downloadlibnitrokey-a0df25c10bfc21574d474547bf2f25372bdbb417.tar.gz
libnitrokey-a0df25c10bfc21574d474547bf2f25372bdbb417.tar.bz2
Rename strdup to _strdup under MSVC
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r--NK_C_API.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index 6d18e52..0fde829 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -1,6 +1,7 @@
#include <cstring>
#include "NK_C_API.h"
#include "include/LibraryException.h"
+#include "include/cxx_semantics.h"
using namespace nitrokey;