summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJerome Duval <jerome.duval@gmail.com>2017-02-22 16:01:24 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2017-04-12 13:30:21 +0100
commitc1c39334dac70cbb5bce2a274e538cd2977023a7 (patch)
treed9b9b24ba3cd14939f7ebd5f1d9987f898b6d3ab /src
parenta8e217d057a25584949f57093684fe9b4978dbf0 (diff)
haiku: build fixes around debug defines
Move the os/os_misc.h include further up, since it's the one that implicitly provides the PIPE_OS_HAIKU define. (cherry picked from commit 40b0c8666c337fd0fdff42ce70703cd300abcf0c) Fixes: 373f118c6c7 ("gallium: do not wrap header inclusion in") Nominated-by: Emil Velikov <emil.velikov@collabora.com> [Emil Velikov: add commit message, fixes tag] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h
index 7da7f53da57..63940b72253 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary/util/u_debug.h
@@ -39,13 +39,13 @@
#define U_DEBUG_H_
+#include "os/os_misc.h"
+
#if defined(PIPE_OS_HAIKU)
/* Haiku provides debug_printf in libroot with OS.h */
#include <OS.h>
#endif
-#include "os/os_misc.h"
-
#include "pipe/p_format.h"
#include "pipe/p_defines.h"