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
This commit is contained in:
parent
bf2f9ea62a
commit
80cdf0868c
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue