summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-data.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-data.h')
-rw-r--r--epan/dissectors/packet-data.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-data.h b/epan/dissectors/packet-data.h
index 4b3057277c..a290402f99 100644
--- a/epan/dissectors/packet-data.h
+++ b/epan/dissectors/packet-data.h
@@ -24,9 +24,12 @@
#ifndef __PACKET_DATA_H__
#define __PACKET_DATA_H__
-/* "proto_data" is exported from libwireshark.dll.
+#include "ws_symbol_export.h"
+
+/*
+ "proto_data" is exported from libwireshark.dll.
* Thus we need a special declaration.
*/
-WS_VAR_IMPORT int proto_data;
+WS_DLL_PUBLIC int proto_data;
#endif /* __PACKET_DATA_H__ */