include string.h for strdup() prototype

This commit is contained in:
Hartmut Holzgraefe
2015-02-13 17:06:47 +01:00
parent c992b53750
commit 56ab0efbb3

View File

@ -30,6 +30,7 @@
#include <memlog.h> #include <memlog.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
static MEMLOG *memlogs = NULL; static MEMLOG *memlogs = NULL;
static SPINLOCK *memlock = SPINLOCK_INIT; static SPINLOCK *memlock = SPINLOCK_INIT;