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.

This commit is contained in:
AeroXuk
2017-11-27 23:40:46 +00:00
parent 9090811826
commit 19ae97d527

View File

@@ -1,3 +1,4 @@
#include <config.h>
#ifndef HAVE_STRNDUP #ifndef HAVE_STRNDUP
#include <stdlib.h> #include <stdlib.h>