fcgi: builds with newer gcc

svn path=/nixpkgs/trunk/; revision=28473
This commit is contained in:
Yury G. Kudryashov
2011-08-10 22:16:48 +00:00
parent 5a70c2dca8
commit 8d0fe0e19b
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/libfcgi/fcgio.cpp b/libfcgi/fcgio.cpp
index 95e28ca..a7eda0e 100644
--- a/libfcgi/fcgio.cpp
+++ b/libfcgi/fcgio.cpp
@@ -23,6 +23,7 @@
#endif
#include <limits.h>
+#include <cstdio>
#include "fcgio.h"
using std::streambuf;