Compatibility headers should always include the header in the same dir.
This commit is contained in:
parent
f97e2705da
commit
cecb5ede74
|
@ -8,7 +8,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <capstone/aarch64.h>
|
||||
#include "aarch64.h"
|
||||
#include "cs_operand.h"
|
||||
#include "platform.h"
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <capstone/systemz.h>
|
||||
#include "systemz.h"
|
||||
#include "platform.h"
|
||||
#include "cs_operand.h"
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ class CompatHeaderBuilder:
|
|||
for line in v6_lines:
|
||||
if re.search(r"^#include", line):
|
||||
if not header_inserted:
|
||||
output.append(f"#include <capstone/{self.v6_lower}.h>\n")
|
||||
output.append(f'#include "{self.v6_lower}.h"\n')
|
||||
header_inserted = True
|
||||
output.append(line)
|
||||
return output
|
||||
|
|
Loading…
Reference in New Issue