[Mesa-dev] [PATCH] amd/addrlib: Fix include path for c99_compat.h

Mariusz Ceier mceier+mesa-dev at gmail.com
Wed Aug 22 20:16:05 UTC 2018


Without this patch mesa doesn't compile:

In file included from ../mesa-9999/src/amd/addrlib/addrinterface.cpp:39:
../mesa-9999/src/util/macros.h:29:10: fatal error: c99_compat.h: No such file or directory
 #include "c99_compat.h"
          ^~~~~~~~~~~~~~
compilation terminated.

Signed-off-by: Mariusz Ceier <mceier+mesa-dev at gmail.com>
---
 src/amd/addrlib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/addrlib/meson.build b/src/amd/addrlib/meson.build
index a7e9dc8c18..b9550afd2a 100644
--- a/src/amd/addrlib/meson.build
+++ b/src/amd/addrlib/meson.build
@@ -57,7 +57,7 @@ libamdgpu_addrlib = static_library(
     include_directories(
       'core', 'inc/chip/gfx9', 'inc/chip/r800', 'gfx9/chip', 'r800/chip',
     ),
-    inc_amd_common, inc_src,
+    inc_amd_common, inc_common, inc_src,
   ],
   cpp_args : cpp_vis_args,
 )
-- 
2.18.0



More information about the mesa-dev mailing list