shithub: choc

Download patch

ref: 59864df095516a0e6a1fecb5a6abfeedc1e56188
parent: a27b3c92870be04d2ea919ca9a510931d96619b6
author: Simon Howard <fraggle@gmail.com>
date: Tue May 23 07:46:09 EDT 2006

Fix compiler warnings caused by missing includes.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 517

--- a/textscreen/txt_button.c
+++ b/textscreen/txt_button.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "doomkeys.h"
--- a/textscreen/txt_checkbox.c
+++ b/textscreen/txt_checkbox.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "doomkeys.h"
--- a/textscreen/txt_label.c
+++ b/textscreen/txt_label.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "txt_label.h"
--- a/textscreen/txt_radiobutton.c
+++ b/textscreen/txt_radiobutton.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "doomkeys.h"
--- a/textscreen/txt_separator.c
+++ b/textscreen/txt_separator.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "txt_separator.h"
--- a/textscreen/txt_window_action.c
+++ b/textscreen/txt_window_action.c
@@ -1,4 +1,5 @@
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "doomkeys.h"