amd/addrlib: Fix include path for c99_compat.h
authorMariusz Ceier <mceier+mesa-dev@gmail.com>
Wed, 22 Aug 2018 20:16:05 +0000 (22:16 +0200)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 22 Aug 2018 21:39:02 +0000 (14:39 -0700)
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: 15ca5ce99a80d9ebb5ef2b1aca6ea00784931de4
       ("amd/addrlib: mark returnCode as MAYBE_UNUSED in")
Signed-off-by: Mariusz Ceier <mceier+mesa-dev@gmail.com>
Acked-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/amd/addrlib/meson.build

index a7e9dc8c18353b997d65c2bf3c37eff62fce5640..b9550afd2ab9b1be879ba112349bd16e57bfa0ba 100644 (file)
@@ -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,
 )