Add missing includes in compat implementation

These includes are necessary for the strdup() compat implementation.
This commit is contained in:
Romain Vimont 2021-11-24 19:37:33 +01:00
parent dc0ac01e00
commit 6f487a2892

View file

@ -2,6 +2,9 @@
#include "config.h" #include "config.h"
#include <stdlib.h>
#include <string.h>
#ifndef HAVE_STRDUP #ifndef HAVE_STRDUP
char *strdup(const char *s) { char *strdup(const char *s) {
size_t size = strlen(s) + 1; size_t size = strlen(s) + 1;