summaryrefslogtreecommitdiff
path: root/libodbcpp/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/error.h')
-rw-r--r--libodbcpp/error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libodbcpp/error.h b/libodbcpp/error.h
index f283a7c..73fa3bc 100644
--- a/libodbcpp/error.h
+++ b/libodbcpp/error.h
@@ -2,6 +2,7 @@
#define ODBC_ERROR_H
#include <sql.h>
+#include <stdlib.h>
#include <exception>
namespace ODBC {
@@ -14,6 +15,8 @@ namespace ODBC {
~Error() throw();
const char * what() const throw();
+ protected:
+ Error(char * msg);
private:
char * msg;
};