diff options
Diffstat (limited to 'include/cursor.h')
-rw-r--r-- | include/cursor.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cursor.h b/include/cursor.h index 105cd0ef..d53baf81 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -1,3 +1,9 @@ +#ifndef _CURSOR_H_ +#define _CURSOR_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif + typedef struct Cursor Cursor; struct Cursor { @@ -5,3 +11,8 @@ struct Cursor uchar clr[2*16]; uchar set[2*16]; }; + +#if defined(__cplusplus) +} +#endif +#endif |