From 24a344be36b21d21ad9324fc115cfa6274154a6b Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Mon, 14 Jan 2008 21:29:09 +0000 Subject: [PATCH] add #include guard. closes #269 git-svn-id: file:///svn/tokudb@1653 c7de825b-a66e-492c-adef-691d508d4ae1 --- include/db_cxx.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/db_cxx.h b/include/db_cxx.h index 2c3c0413454..09342204995 100644 --- a/include/db_cxx.h +++ b/include/db_cxx.h @@ -1,3 +1,6 @@ +#ifndef _DB_CXX_H_ +#define _DB_CXX_H_ + #include #include #include @@ -127,6 +130,7 @@ class Db { int fd(int *); + void set_errpfx(const char *errpfx); void set_error_stream(std::ostream *); /* the cxx callbacks must be public so they can be called by the c callback. But it's really private. */ @@ -223,3 +227,5 @@ class Dbc : protected DBC { Dbc(); // User may not call it. ~Dbc(); // User may not delete it. }; + +#endif