diff options
author | Simon Howard | 2006-09-09 16:52:01 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-09 16:52:01 +0000 |
commit | 80cdf0868cf279c9c15477d9e662511fbae2dbb9 (patch) | |
tree | 47bf8d44626efb2e2b50e4243d9c5558b058d219 /textscreen/txt_main.h | |
parent | bf2f9ea62a48d70496057e4f7e444e746e61f462 (diff) | |
download | chocolate-doom-80cdf0868cf279c9c15477d9e662511fbae2dbb9.tar.gz chocolate-doom-80cdf0868cf279c9c15477d9e662511fbae2dbb9.tar.bz2 chocolate-doom-80cdf0868cf279c9c15477d9e662511fbae2dbb9.zip |
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
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 |