From bfad9c56f9e65eafba00f97e5e649842782eb2e1 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Wed, 25 Oct 2017 17:42:15 -0700 Subject: CMake: Don't check for windows.h or winsock2.h. If we're building on Windows we're going to have windows.h and winsock2.h. Don't bother checking for them. Change-Id: I0004c44d7364ab3f41682f34b8c84cd8617c9603 Reviewed-on: https://code.wireshark.org/review/24068 Reviewed-by: Gerald Combs Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- tshark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tshark.c') diff --git a/tshark.c b/tshark.c index cbae439fd8..4b56e2f2c2 100644 --- a/tshark.c +++ b/tshark.c @@ -36,7 +36,7 @@ #include -#ifdef HAVE_WINSOCK2_H +#ifdef _WIN32 # include #endif -- cgit v1.2.3