fix for physfs 1.1.0
authorMatthias Braun <matze@braunis.de>
Tue, 6 Sep 2005 21:14:35 +0000 (21:14 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 6 Sep 2005 21:14:35 +0000 (21:14 +0000)
SVN-Revision: 2764

configure.ac

index 1676716..d632680 100644 (file)
@@ -112,7 +112,9 @@ NP_FINDLIB([SDLIMAGE], [SDL_image], [SDL_image >= 1.2],
         [$SDL_CFLAGS], [$SDL_LIBS])
 
 NP_FINDLIB([PHYSFS], [physfs], [physfs >= 1.0.0],
-        NP_LANG_PROGRAM([#include <physfs.h>
+        NP_LANG_PROGRAM([
+#include <stdio.h>
+#include <physfs.h>
 #if PHYSFS_VER_MAJOR < 1
 # error PHYSFS is too old
 #endif]),