diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-10-19 00:18:36 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-11-03 15:22:15 +0100 |
commit | 81542c187a9b4dba9cc570ab8a5666c53aa04523 (patch) | |
tree | 674c217bdeba73ce300cdced6a20b90723e87632 | |
parent | 02be8da361c4af9812ce4ac1d70e51e143ddfa6f (diff) |
TODO some simple_mtx.h fixups
-rw-r--r-- | src/util/simple_mtx.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |