PROTON-2140: Fix - actually export new versions of pn_error_t functions
diff --git a/c/src/core/error.c b/c/src/core/error.c
index f64c763..9554f69 100644
--- a/c/src/core/error.c
+++ b/c/src/core/error.c
@@ -22,7 +22,11 @@
 #include "platform/platform.h"
 #include "util.h"
 
+#include <proton/connection.h>
 #include <proton/error.h>
+#include <proton/link.h>
+#include <proton/session.h>
+
 #include <stdlib.h>
 #include <string.h>
 #include <assert.h>