Linux build fixes

This commit is contained in:
Matt Pharr
2011-09-17 13:42:46 -07:00
parent 2405dae8e6
commit 9052d4b10b
3 changed files with 9 additions and 0 deletions

View File

@@ -54,6 +54,9 @@
#include <stdint.h>
#include <stdlib.h>
#include <errno.h>
#ifdef ISPC_IS_LINUX
#include <malloc.h>
#endif
static int initialized = 0;
static volatile int32_t lock = 0;