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 7ebfa8c..2884d3c 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"