Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Compatibility headers should always include the header in the same dir.
  • Loading branch information
Rot127 committed Oct 15, 2024
1 parent 7624269 commit f9f0aef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/capstone/arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
extern "C" {
#endif

#include <capstone/aarch64.h>
#include "aarch64.h"
#include "cs_operand.h"
#include "platform.h"

Expand Down
2 changes: 1 addition & 1 deletion include/capstone/systemz_compatibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
extern "C" {
#endif

#include <capstone/systemz.h>
#include "systemz.h"
#include "platform.h"
#include "cs_operand.h"

Expand Down
2 changes: 1 addition & 1 deletion suite/auto-sync/src/autosync/HeaderPatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def inject_v6_header(self, v6_lines: list[str]) -> list[str]:
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
Expand Down

0 comments on commit f9f0aef

Please sign in to comment.