mesa: include compiler.h in disk_cache.c
authorBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 05:12:49 +0000 (22:12 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Jan 2018 18:17:56 +0000 (11:17 -0700)
Instead of indirect inclusion to get CPU_TO_LE32() macro.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/util/disk_cache.c

index 7ebfa8c045c8da128166a1b22d64763d12e664f3..2884d3c9c1c5a9227a0dfb4bdf2fc01b1d6b67ab 100644 (file)
@@ -46,6 +46,7 @@
 #include "util/u_queue.h"
 #include "util/mesa-sha1.h"
 #include "util/ralloc.h"
+#include "main/compiler.h"
 #include "main/errors.h"
 
 #include "disk_cache.h"