diff options
Diffstat (limited to 'textscreen/txt_main.h')
-rw-r--r-- | textscreen/txt_main.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/textscreen/txt_main.h b/textscreen/txt_main.h index beb57c57..ac915234 100644 --- a/textscreen/txt_main.h +++ b/textscreen/txt_main.h @@ -27,6 +27,11 @@ #ifndef TXT_MAIN_H #define TXT_MAIN_H +// The textscreen API itself doesn't need SDL; however, SDL needs its +// headers included where main() is defined. + +#include <SDL.h> + // Special keypress values that correspond to mouse button clicks // #define TXT_MOUSE_LEFT 1 |