ref: 80cdf0868cf279c9c15477d9e662511fbae2dbb9
parent: bf2f9ea62a48d70496057e4f7e444e746e61f462
author: Simon Howard <[email protected]>
date: Sat Sep 9 12:52:01 EDT 2006
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
--- 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