From 9aba969296e130eb1f289c655a4498cfa044cb18 Mon Sep 17 00:00:00 2001 From: arcnmx Date: Mon, 29 Jan 2018 00:51:14 -0500 Subject: [PATCH] [client] fix SDL mutex compile errors (#42) --- client/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/client/utils.h b/client/utils.h index 1884bbc6..62e00b3d 100644 --- a/client/utils.h +++ b/client/utils.h @@ -54,6 +54,7 @@ static inline void nsleep(uint64_t ns) #define LG_UNLOCK(x) __sync_lock_release(&x) #define LG_LOCK_FREE(x) #else + #include #define LG_LOCK_MODE "Mutex" typedef SDL_mutex * LG_Lock; #define LG_LOCK_INIT(x) (x = SDL_CreateMutex())