aboutsummaryrefslogtreecommitdiff
path: root/include/NitrokeyManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/NitrokeyManager.h')
-rw-r--r--include/NitrokeyManager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 51cd966..e3dcc45 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -18,6 +18,11 @@ namespace nitrokey {
using namespace nitrokey::proto;
using namespace nitrokey::log;
+
+#ifdef __WIN32
+char * strndup(const char* str, size_t maxlen);
+#endif
+
class NitrokeyManager {
public:
static shared_ptr <NitrokeyManager> instance();