summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/contrib/error.h')
-rw-r--r--apt-pkg/contrib/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h
index 5ab7b9f85..1609b8702 100644
--- a/apt-pkg/contrib/error.h
+++ b/apt-pkg/contrib/error.h
@@ -48,7 +48,7 @@
#include <stdarg.h>
#include <stddef.h>
-class GlobalError /*{{{*/
+class APT_PUBLIC GlobalError /*{{{*/
{
public: /*{{{*/
/** \brief a message can have one of following severity */
@@ -359,7 +359,7 @@ private: /*{{{*/
/*}}}*/
// The 'extra-ansi' syntax is used to help with collisions.
-GlobalError *_GetErrorObj();
+APT_PUBLIC GlobalError *_GetErrorObj();
static struct {
inline GlobalError* operator ->() { return _GetErrorObj(); }
} _error APT_UNUSED;