]> granicus.if.org Git - curl/commitdiff
lib509: add missing include for strdup
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Fri, 5 Apr 2019 09:12:25 +0000 (11:12 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 11 Apr 2019 19:08:39 +0000 (21:08 +0200)
Closes https://github.com/curl/curl/pull/3739

tests/libtest/lib509.c

index 59ced355fa875cbb72b01f19685d96505798cce6..755208b8d7dc977e9216ced570ddf1775fe55db9 100644 (file)
@@ -21,6 +21,8 @@
  ***************************************************************************/
 #include "test.h"
 
+#include <string.h>
+
 /*
  * This test uses these funny custom memory callbacks for the only purpose
  * of verifying that curl_global_init_mem() functionality is present in