소스 검색

linux-user/flatload.c: Use "" for include of QEMU header target_flat.h

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
Peter Maydell 5 년 전
부모
커밋
94db8de179
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      linux-user/flatload.c

+ 1 - 1
linux-user/flatload.c

@@ -37,7 +37,7 @@
 
 
 #include "qemu.h"
 #include "qemu.h"
 #include "flat.h"
 #include "flat.h"
-#include <target_flat.h>
+#include "target_flat.h"
 
 
 //#define DEBUG
 //#define DEBUG