]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
linux-user/flatload.c: Use "" for include of QEMU header target_flat.h
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Mar 2020 19:33:21 +0000 (19:33 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 14 Apr 2020 08:44:31 +0000 (09:44 +0100)
The target_flat.h file is a QEMU header, so we should include it using
quotes, not angle brackets.

Coverity otherwise is unable to find the header:

"../linux-user/flatload.c", line 40: error #1712: cannot open source file
          "target_flat.h"
  #include <target_flat.h>
                          ^

because the relevant directory is only on the -iquote path, not the -I path.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200319193323.2038-5-peter.maydell@linaro.org

linux-user/flatload.c

index 0122ab3afe65ce2113afb7d0f5e1532bd70bf3db..66901f39cc5f6bdbb3d576b79d1d0c5c060739b8 100644 (file)
@@ -37,7 +37,7 @@
 
 #include "qemu.h"
 #include "flat.h"
-#include <target_flat.h>
+#include "target_flat.h"
 
 //#define DEBUG