From 80cdf0868cf279c9c15477d9e662511fbae2dbb9 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 9 Sep 2006 16:52:01 +0000 Subject: Include SDL.h in the textscreen headers; the SDL headers need to be included where main() is defined. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 600 --- textscreen/txt_main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'textscreen') 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 + // Special keypress values that correspond to mouse button clicks // #define TXT_MOUSE_LEFT 1 -- cgit v1.2.3