X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6b882a3918590b9c0f45643323adae9862eedde5..a3bef9863b9e06a820c7559b9caffeaaa1bb575b:/client/crypto/asn1dump.c?ds=inline

diff --git a/client/crypto/asn1dump.c b/client/crypto/asn1dump.c
index 60799fc8..9570be20 100644
--- a/client/crypto/asn1dump.c
+++ b/client/crypto/asn1dump.c
@@ -8,11 +8,14 @@
 // asn.1 dumping
 //-----------------------------------------------------------------------------
 
+#define _POSIX_C_SOURCE 200809L                 // need for strnlen()
+
 #include "asn1dump.h"
 #include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h> 
 #include <stdio.h>
+#include <string.h>
 #include <jansson.h>
 #include <mbedtls/asn1.h>
 #include <mbedtls/oid.h>