uclibc only defines strndup(3) if _GNU_SOURCE is defined

References #516.
This commit is contained in:
Tobias Brunner
2014-02-19 16:11:47 +01:00
parent 09417da49c
commit ab13364c65
13 changed files with 43 additions and 25 deletions
+2 -2
View File
@@ -20,14 +20,14 @@
#define _GNU_SOURCE
#include "x509_cert.h"
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include "x509_cert.h"
#include <library.h>
#include <utils/debug.h>
#include <asn1/oid.h>