aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.h
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-10-16 10:33:34 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-22 06:41:44 +0000
commit59c082c046c5039d745901b1cf5ac51e50a26a71 (patch)
treed01ee2414ccdab9737ac1064dc78ee9382bbd91e /wiretap/file_wrappers.h
parent79b0e4999aa051f3dce4aa025dd519e9cef31d26 (diff)
Add new global header wireshark.h with guideline
Remove ws_diag_control.h from config.h because that was a workaround for the lack of a public global header. Fix the resultant build errors.
Diffstat (limited to 'wiretap/file_wrappers.h')
-rw-r--r--wiretap/file_wrappers.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/file_wrappers.h b/wiretap/file_wrappers.h
index 40fe9c9788..14dfa94eef 100644
--- a/wiretap/file_wrappers.h
+++ b/wiretap/file_wrappers.h
@@ -9,10 +9,9 @@
#ifndef __WTAP_FILE_WRAPPERS_H__
#define __WTAP_FILE_WRAPPERS_H__
-#include <glib.h>
+#include <wireshark.h>
#include "wtap.h"
#include <wsutil/file_util.h>
-#include "ws_symbol_export.h"
extern FILE_T file_open(const char *path);
extern FILE_T file_fdopen(int fildes);