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

Mariusz Ceier mceier+mesa-dev at gmail.com
Wed Aug 22 21:44:07 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.

Fixes 15ca5ce99a (amd/addrlib: mark returnCode as MAYBE_UNUSED in ElemGetExportNorm)

Signed-off-by: Mariusz Ceier <mceier+mesa-dev at gmail.com>
Acked-by: Kai Wasserb├Ąch <kai at dev.carbon-project.org>
---
 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