foxygit / doom Log in
commit eb0a57a271bc3dd8dee99e25ae450d8270f2454a
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Oct 24 19:32:26 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Oct 24 19:32:26 2006 +0000

    Shut up compiler warnings.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 728
---
 src/net_gui.c                    | 1 +
 textscreen/examples/calculator.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/net_gui.c b/src/net_gui.c
index f322da15..a52ab184 100644
--- a/src/net_gui.c
+++ b/src/net_gui.c
@@ -24,6 +24,7 @@
 //    start the game.
 //

+#include <stdlib.h>
 #include <ctype.h>

 #include "config.h"
diff --git a/textscreen/examples/calculator.c b/textscreen/examples/calculator.c
index b8fefaa3..79e7e7f6 100644
--- a/textscreen/examples/calculator.c
+++ b/textscreen/examples/calculator.c
@@ -1,5 +1,6 @@

 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>

 #include "textscreen.h"