From: Oliver Kurth Date: Fri, 15 Sep 2017 18:22:56 +0000 (-0700) Subject: Don't include errno.h in vsockSocketWrapper.h. X-Git-Tag: stable-10.2.0~610 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=795be8ba52f52c49c10dd948d79fd401ba524c12;p=thirdparty%2Fopen-vm-tools.git Don't include errno.h in vsockSocketWrapper.h. A recent change added errno.h to vsockSocketWrapper.h. Since errno.h is intended for UNIX compatibility, whereas vsockSocketWrapper.h redefines the error values to their Windows equivalentsr, it needed to be removed. --- diff --git a/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h b/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h index e7e5b753a..a47f8c4dc 100644 --- a/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h +++ b/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h @@ -26,10 +26,6 @@ #ifndef _VSOCK_SOCKET_WRAPPER_H_ #define _VSOCK_SOCKET_WRAPPER_H_ -#if defined(_WIN32) -#include -#endif - /* * Socket states and flags. Note that MSG_WAITALL is only defined on 2K3, * XP-SP2 and above. Since we currently build for 2K to maintain backwards