summaryrefslogtreecommitdiff
path: root/src/http-header-glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http-header-glue.c')
-rw-r--r--src/http-header-glue.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/http-header-glue.c b/src/http-header-glue.c
index 3c36e1d0..e2a19c5f 100644
--- a/src/http-header-glue.c
+++ b/src/http-header-glue.c
@@ -13,10 +13,14 @@
#include "http_date.h"
#include "http_etag.h"
#include "http_header.h"
-#include "response.h"
#include "sock_addr.h"
#include "stat_cache.h"
+#undef __declspec_dllimport__
+#define __declspec_dllimport__ __declspec_dllexport__
+
+#include "response.h"
+
#include <stdlib.h>
#include <string.h>
#include <errno.h>
@@ -31,6 +35,7 @@
#define MAX_HTTP_RESPONSE_FIELD_SIZE 65535
/* http_dispatch instance here to be defined in shared object (see base.h)*/
+__declspec_dllexport__
struct http_dispatch http_dispatch[4];