diff options
Diffstat (limited to 'include/keyboard.h')
-rw-r--r-- | include/keyboard.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/keyboard.h b/include/keyboard.h index a6d99bf6..588600a7 100644 --- a/include/keyboard.h +++ b/include/keyboard.h @@ -1,3 +1,8 @@ +#ifndef _KEYBOARD_H_ +#define _KEYBOARD_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif typedef struct Keyboardctl Keyboardctl; struct Keyboardctl @@ -34,3 +39,8 @@ enum { Kshift= KF|0x16, Kctl= KF|0x17, }; + +#if defined(__cplusplus) +} +#endif +#endif |