From 0162e54075bb7ad967a85736b3c8addd53d86de5 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 6 Nov 2015 19:20:37 -0800 Subject: Clean up includes of unistd.h, fcntl.h, and sys/stat.h. Have wsutil/file_util.h include them on UN*X, just as it includes io.h on Windows, so we can have a rule of "if you do file operations, include and use the routines in it". Remove includes of unistd.h, fcntl.h, and sys/stat.h that aren't necessary (whether because of the addition of them to wsutil/file_util.h or because they weren't needed in the first place). Change-Id: Ie241dd74deff284e39a5f690a297dbb6e1dc485f Reviewed-on: https://code.wireshark.org/review/11619 Petri-Dish: Guy Harris Reviewed-by: Guy Harris --- capchild/capture_sync.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'capchild/capture_sync.c') diff --git a/capchild/capture_sync.c b/capchild/capture_sync.c index 0b92c57028..460b790099 100644 --- a/capchild/capture_sync.c +++ b/capchild/capture_sync.c @@ -29,14 +29,6 @@ #include #include -#ifdef HAVE_UNISTD_H -#include -#endif - -#ifdef HAVE_FCNTL_H -#include -#endif - #include #ifdef _WIN32 -- cgit v1.2.3