]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Don't include errno.h in vsockSocketWrapper.h.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:56 +0000 (11:22 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:22:56 +0000 (11:22 -0700)
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.

open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h

index e7e5b753af6354518a4eeacb05698169cc8c0dde..a47f8c4dc2fcd110c282f9e4f24763b753b7bea9 100644 (file)
 #ifndef _VSOCK_SOCKET_WRAPPER_H_
 #define _VSOCK_SOCKET_WRAPPER_H_
 
-#if defined(_WIN32)
-#include <errno.h>
-#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