diff --git a/textscreen/textscreen.h b/textscreen/textscreen.h index d88b58ca..c778994a 100644 --- a/textscreen/textscreen.h +++ b/textscreen/textscreen.h @@ -15,6 +15,10 @@ #ifndef TEXTSCREEN_H #define TEXTSCREEN_H +#ifdef __cplusplus +extern "C" { +#endif + #include "../src/doomkeys.h" #include "txt_main.h" @@ -36,5 +40,9 @@ #include "txt_window_action.h" #include "txt_window.h" +#ifdef __cplusplus +} +#endif + #endif /* #ifndef TEXTSCREEN_H */