From 81542c187a9b4dba9cc570ab8a5666c53aa04523 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 19 Oct 2017 00:18:36 +0200 Subject: TODO some simple_mtx.h fixups --- src/util/simple_mtx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/simple_mtx.h b/src/util/simple_mtx.h index bd365ac237..d23a4303c8 100644 --- a/src/util/simple_mtx.h +++ b/src/util/simple_mtx.h @@ -21,6 +21,8 @@ * IN THE SOFTWARE. */ +#include "util/u_thread.h" + #if defined(__GNUC__) && defined(HAVE_FUTEX) /* mtx_t - Fast, simple mutex @@ -115,7 +117,7 @@ simple_mtx_unlock(simple_mtx_t *mtx) #else -typedef simple_mtx_t mtx_t; +typedef mtx_t simple_mtx_t; #define _SIMPLE_MTX_INITIALIZER_NP _MTX_INITIALIZER_NP -- cgit v1.2.3