From eb8ffb74e27523492855268abf5cb45927ffdb04 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 3 Dec 2017 10:53:58 -0800 Subject: Use cfile.h to define the capture_file type. Have cfile-int.h declare the structure, and use it in files that directly access the structure. Have cfile.h just incompletely declare the structure and include it rather than explicitly declaring it in source files or other header files. Never directly refer to struct _capture_file except when typedeffing capture_file. Add #includes as necessary, now that cfile.h doesn't drag in a ton of Change-Id: I7931c8039d75ff7c980b0f2a6e221f20e602a556 Reviewed-on: https://code.wireshark.org/review/24686 Reviewed-by: Guy Harris --- globals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'globals.h') diff --git a/globals.h b/globals.h index 246c829c1a..4d32614538 100644 --- a/globals.h +++ b/globals.h @@ -12,6 +12,7 @@ #define __GLOBALS_H__ #include "file.h" +#include "cfile-int.h" #include #ifdef __cplusplus -- cgit v1.2.3