changeset 1554:7ed25973dbcb

Add some missing includes.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 13 May 2018 05:28:51 +0300
parents e68d3b16c79e
children 813244726b32
files src/dmargs.h src/dmlib.h
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmargs.h	Sun May 13 04:12:32 2018 +0300
+++ b/src/dmargs.h	Sun May 13 05:28:51 2018 +0300
@@ -9,7 +9,6 @@
 #define DMARGS_H
 
 #include "dmlib.h"
-#include <stdio.h>
 
 #ifdef __cplusplus
 extern "C" {
--- a/src/dmlib.h	Sun May 13 04:12:32 2018 +0300
+++ b/src/dmlib.h	Sun May 13 05:28:51 2018 +0300
@@ -13,7 +13,11 @@
 #include <SDL_mutex.h>
 #include <SDL_thread.h>
 #include <SDL_video.h>
+#include <stdio.h>
 #include <stdarg.h>
+#include <stdlib.h>
+#include <ctype.h>
+
 
 #ifdef DM_USE_ASSERTS
 #  include <assert.h>