pkgsrc/databases/cstore/patches/patch-src_sparseexps_StrSelExpDM.h
wiz 401deb1bad Add a some missing header files and fix a cast.
Adapt for db4 update post 4.5.
Now dies with segfault during build:
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr
[1]   Abort trap (core dumped) ./cstoreqptest 0...
2011-12-20 13:42:47 +00:00

15 lines
396 B
C++

$NetBSD: patch-src_sparseexps_StrSelExpDM.h,v 1.1 2011/12/20 13:42:48 wiz Exp $
Add missing header.
--- src/sparseexps/StrSelExpDM.h.orig 2006-10-17 19:36:12.000000000 +0000
+++ src/sparseexps/StrSelExpDM.h
@@ -51,7 +51,7 @@
#include "../AM/PagePlacer.h"
#include <ctime>
#include "../UnitTests/UnitTest.h"
-#include <fstream.h>
+#include <fstream>
class StrSelExpDM : public UnitTest
{