aboutsummaryrefslogtreecommitdiff
path: root/odb/details/posix/exceptions.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/posix/exceptions.hxx')
-rw-r--r--odb/details/posix/exceptions.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/details/posix/exceptions.hxx b/odb/details/posix/exceptions.hxx
index f4b4572..76f5763 100644
--- a/odb/details/posix/exceptions.hxx
+++ b/odb/details/posix/exceptions.hxx
@@ -6,13 +6,16 @@
#ifndef ODB_DETAILS_POSIX_EXCEPTIONS_HXX
#define ODB_DETAILS_POSIX_EXCEPTIONS_HXX
+#include <odb/pre.hxx>
+
+#include <odb/details/export.hxx>
#include <odb/details/exception.hxx>
namespace odb
{
namespace details
{
- struct posix_exception: details::exception
+ struct LIBODB_EXPORT posix_exception: details::exception
{
posix_exception (int code) : code_ (code) {}
@@ -28,4 +31,6 @@ namespace odb
}
}
+#include <odb/post.hxx>
+
#endif // ODB_DETAILS_POSIX_EXCEPTIONS_HXX