include string.h for strdup() prototype
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user