aboutsummaryrefslogtreecommitdiff
path: root/include/elf/sh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/sh.h')
-rw-r--r--include/elf/sh.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/elf/sh.h b/include/elf/sh.h
index 9f425b2..2bc83f0 100644
--- a/include/elf/sh.h
+++ b/include/elf/sh.h
@@ -20,6 +20,10 @@
#ifndef _ELF_SH_H
#define _ELF_SH_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Processor specific flags for the ELF header e_flags field. */
#define EF_SH_MACH_MASK 0x1f
@@ -246,4 +250,8 @@ START_RELOC_NUMBERS (elf_sh_reloc_type)
RELOC_NUMBER (R_SH_64_PCREL, 255)
END_RELOC_NUMBERS (R_SH_max)
+#ifdef __cplusplus
+}
+#endif
+
#endif