From 19ae97d52792b56353c52deecab145aa5ccb71bc Mon Sep 17 00:00:00 2001 From: AeroXuk Date: Mon, 27 Nov 2017 23:40:46 +0000 Subject: [PATCH] Adding include config.h to strndup.c so that the function is not compiled and doesn't cause errors when the system has its own implementation. --- src/strndup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strndup.c b/src/strndup.c index d02657d6..61f605b6 100644 --- a/src/strndup.c +++ b/src/strndup.c @@ -1,3 +1,4 @@ +#include #ifndef HAVE_STRNDUP #include