summaryrefslogtreecommitdiff
path: root/gruel/src/include/gruel/pmt_pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'gruel/src/include/gruel/pmt_pool.h')
-rw-r--r--gruel/src/include/gruel/pmt_pool.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gruel/src/include/gruel/pmt_pool.h b/gruel/src/include/gruel/pmt_pool.h
index b792523e0..2b227ce6a 100644
--- a/gruel/src/include/gruel/pmt_pool.h
+++ b/gruel/src/include/gruel/pmt_pool.h
@@ -21,6 +21,7 @@
#ifndef INCLUDED_PMT_POOL_H
#define INCLUDED_PMT_POOL_H
+#include <gruel/api.h>
#include <cstddef>
#include <vector>
#include <boost/thread.hpp>
@@ -33,9 +34,9 @@ namespace pmt {
* FIXME may want to go to global allocation with per-thread free list.
* This would eliminate virtually all lock contention.
*/
-class pmt_pool {
+class GRUEL_API pmt_pool {
- struct item {
+ struct GRUEL_API item {
struct item *d_next;
};