src/physfs_internal.h
changeset 1129 d81afe4b0a97
parent 1128 067d8e76261e
child 1136 888695d89f70
--- a/src/physfs_internal.h	Mon Sep 06 02:50:29 2010 -0400
+++ b/src/physfs_internal.h	Mon Sep 06 19:35:01 2010 -0400
@@ -16,7 +16,10 @@
 
 #include "physfs.h"
 
-#include <stdlib.h>  /* make sure NULL is defined... */
+/* The holy trinity. */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 #ifdef HAVE_ASSERT_H
 #include <assert.h>
@@ -29,11 +32,6 @@
 #include <malloc.h>
 #endif
 
-/* !!! FIXME: if HAVE_ALLOCA_H would be good, too. */
-#if sun
-#include <alloca.h>
-#endif
-
 #if defined(__sun) || defined(sun)
 #include <alloca.h>
 #endif