summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net_gui.c1
-rw-r--r--textscreen/examples/calculator.c1
2 files changed, 2 insertions, 0 deletions
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"