[lib][elf] add C++ header guards
*/
#pragma once
+#include <lk/compiler.h>
#include <lib/elf_defines.h>
#include <sys/types.h>
#include <stdbool.h>
+__BEGIN_CDECLS
+
/* based on our bitness, support 32 or 64 bit elf */
#if IS_64BIT
#define WITH_ELF64 1
@@ -54,3 +57,5 @@ void elf_close_handle(elf_handle_t *handle);
status_t elf_load(elf_handle_t *handle);
+__END_CDECLS
+
