]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Remove erroneous defines of __FreeBSD__ & __VMKTCPIP__ from vmci_sockets.h
authorOliver Kurth <okurth@vmware.com>
Tue, 18 Dec 2018 21:19:47 +0000 (13:19 -0800)
committerOliver Kurth <okurth@vmware.com>
Tue, 18 Dec 2018 21:19:47 +0000 (13:19 -0800)
open-vm-tools/lib/include/vmci_sockets.h

index 29e80780db24136167f43479222fbde8d8220830..72cbf7c1aa19737b0b85528382ce8648bbe5494e 100644 (file)
@@ -39,7 +39,7 @@
 #  if defined(__APPLE__)
 #    include <sys/socket.h>
 #    include <string.h>
-#  elif defined(__FreeBSD__)
+#  elif defined(__FreeBSD__) && !defined(__VMKTCPIP__)
 #     include <sys/socket.h>
 #  endif // __FreeBSD__
 #endif // linux && !VMKERNEL