Add missing includes in compat implementation
These includes are necessary for the strdup() compat implementation.
This commit is contained in:
parent
dc0ac01e00
commit
6f487a2892
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue