git » fp-git.git » commit 84809fc

pedantic

author ecalot
2004-06-30 05:23:12 UTC
committer ecalot
2004-06-30 05:23:12 UTC
parent 9f75e581d66dddd13455d7c824eedd79b5f81ca3

pedantic

FP/src/res/config.c +3 -2
FP/src/res/maps.c +1 -0

diff --git a/FP/src/res/config.c b/FP/src/res/config.c
index 21027ee..44f6f33 100644
--- a/FP/src/res/config.c
+++ b/FP/src/res/config.c
@@ -30,11 +30,12 @@ config.c: Free Prince : Configuration Handler
   DO NOT remove this copyright notice
 */
 
+#include <string.h> /* memcpy */
+#include <stdlib.h> /* free/malloc */
 #include "config.h"
+#include "dat.h"
 #include "freeprince.h"
-#include <stdlib.h>
 #include "resources.h"
-#include "dat.h"
 
 static tMemory options[CONFIG_MAX_ITEMS];
 
diff --git a/FP/src/res/maps.c b/FP/src/res/maps.c
index b0bfebc..cf0ebd0 100644
--- a/FP/src/res/maps.c
+++ b/FP/src/res/maps.c
@@ -30,6 +30,7 @@ maps.c: Freeprince : Map handling library
   DO NOT remove this copyright notice
 */
 
+#include <string.h> /* mempcy */
 #include "maps.h"
 
 static unsigned char* slevel;