summaryrefslogtreecommitdiff
path: root/sysutils/strigi/patches/patch-src_luceneindexer_jsgzipcompressstream.h
blob: d7ef37e72bb9f8a1c858d338509b03a191ef3a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_luceneindexer_jsgzipcompressstream.h,v 1.2 2012/01/16 19:47:31 adam Exp $

Fix build with gcc4.3 and clang

--- src/luceneindexer/jsgzipcompressstream.h.orig	2009-02-01 19:55:38.000000000 +0000
+++ src/luceneindexer/jsgzipcompressstream.h
@@ -21,6 +21,8 @@
 #define GZIPCOMPRESSSTREAM_H
 
 #include <strigi/strigiconfig.h>   // (u)int64_t
+#include <cstdio>
+#include <cstring>
 #include <CLucene/util/streambase.h>
 #include <CLucene/util/bufferedstream.h>