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 --- wsutil/tempfile.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'wsutil/tempfile.c') diff --git a/wsutil/tempfile.c b/wsutil/tempfile.c index 8e1f8dc588..62b4219f10 100644 --- a/wsutil/tempfile.c +++ b/wsutil/tempfile.c @@ -26,11 +26,8 @@ #include #include -#ifdef HAVE_WINDOWS_H -#include -#endif - #ifdef _WIN32 +#include #include /* For getpid() */ #endif -- cgit v1.2.3