OSDN Git Service

haiku: build fixes around debug defines
authorJerome Duval <jerome.duval@gmail.com>
Wed, 22 Feb 2017 16:01:24 +0000 (16:01 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Apr 2017 12:30:21 +0000 (13:30 +0100)
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>
src/gallium/auxiliary/util/u_debug.h

index 7da7f53..63940b7 100644 (file)
 #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"