openwrt_archive/libs/libxapian/patches/001-missing_includes.patch
2012-02-16 18:08:31 +00:00

51 lines
745 B
Diff

--- a/backends/flint/flint_version.cc
+++ b/backends/flint/flint_version.cc
@@ -20,6 +20,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include "safeerrno.h"
--- a/bin/xapian-progsrv.cc
+++ b/bin/xapian-progsrv.cc
@@ -19,6 +19,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include "remoteserver.h"
--- a/bin/xapian-tcpsrv.cc
+++ b/bin/xapian-tcpsrv.cc
@@ -21,6 +21,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include <cstdlib>
--- a/examples/delve.cc
+++ b/examples/delve.cc
@@ -21,6 +21,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include <xapian.h>
--- a/examples/quest.cc
+++ b/examples/quest.cc
@@ -19,6 +19,7 @@
*/
#include <config.h>
+#include <stdio.h>
#include <xapian.h>