Skip to content

Commit

Permalink
linux-user/flatload.c: Use "" for include of QEMU header target_flat.h
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pm215 committed Apr 14, 2020
1 parent 2e79802 commit 94db8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/flatload.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

#include "qemu.h"
#include "flat.h"
#include <target_flat.h>
#include "target_flat.h"

//#define DEBUG

Expand Down

0 comments on commit 94db8de

Please sign in to comment.