diff options
Diffstat (limited to 'src/user/include/pland/syscall.h')
-rw-r--r-- | src/user/include/pland/syscall.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/include/pland/syscall.h b/src/user/include/pland/syscall.h index 3c4f421..d7dfd77 100644 --- a/src/user/include/pland/syscall.h +++ b/src/user/include/pland/syscall.h @@ -1,6 +1,10 @@ #ifndef PLAND_SYSCALL_H #define PLAND_SYSCALL_H +#ifdef __cplusplus +extern "C" { +#endif + #include <stdint.h> #include <stdbool.h> @@ -250,4 +254,8 @@ static inline void _set_file_size(_file_handle_t handle, uint32_t new_size) { _sc2(_SCN_SET_FILE_SIZE, handle, new_size); } +#ifdef __cplusplus +} +#endif + #endif
\ No newline at end of file |