From 6fb470a39ef8900b71634333b0a2227dc8b62799 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Aug 2010 14:52:12 +0200 Subject: Add support for creating other build systems (meta-building) Add support for automake, VC++ 9, and VC++ 10. Also add the Win32 and 'NULL' threading model implementations. --- odb/details/lock.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'odb/details/lock.hxx') diff --git a/odb/details/lock.hxx b/odb/details/lock.hxx index 0ee5a6d..044dfdb 100644 --- a/odb/details/lock.hxx +++ b/odb/details/lock.hxx @@ -6,13 +6,16 @@ #ifndef ODB_DETAILS_LOCK_HXX #define ODB_DETAILS_LOCK_HXX +#include + +#include #include namespace odb { namespace details { - struct lock + struct LIBODB_EXPORT lock { lock (mutex& m) : mutex_ (m), locked_ (true) @@ -43,4 +46,6 @@ namespace odb } } +#include + #endif // ODB_DETAILS_LOCK_HXX -- cgit v1.1