Eliminate some unneeded header checks.
authorGuy Harris <guy@alum.mit.edu>
Wed, 16 May 2018 19:51:45 +0000 (12:51 -0700)
committerGuy Harris <guy@alum.mit.edu>
Wed, 16 May 2018 22:03:09 +0000 (22:03 +0000)
commitd08d0a87c5dd20d8626649693a81279415f47c22
tree6567c4c87cd8ae706cf6b9d3b1bb570fe37bf4f9
parent054a7e4606758ebdc8b37cab04da57e5a863cba8
Eliminate some unneeded header checks.

sys/stat.h and sys/types.h date back to V7 UNIX, so they should be
present on all UN*Xes, and we're assuming they're available on Windows,
so, unless and until we ever support platforms that are neither UN*Xes
nor Windows, we don't need to check for them.

Remove the CMake checks for them, remove the HAVE_ values from
cmakeconfig.h.in, and remove all tests for the HAVE_ values.

Change-Id: I90bb2aab37958553673b03b52f4931d3b304b9d0
Reviewed-on: https://code.wireshark.org/review/27603
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
19 files changed:
CMakeLists.txt
ConfigureChecks.cmake
capture_opts.h
caputils/capture-pcap-util.c
cmakeconfig.h.in
dumpcap.c
epan/tap.c
extcap.c
file.c
ui/qt/interface_toolbar_reader.cpp
wiretap/mime_file.c
wiretap/mp2t.c
wiretap/mpeg.c
wiretap/nettrace_3gpp_32_423.c
wiretap/wtap.c
wsutil/file_util.h
wsutil/inet_addr.c
wsutil/interface.c
wsutil/privileges.c