From: VMware, Inc <> Date: Mon, 21 Nov 2011 23:59:51 +0000 (-0800) Subject: lib/lock: fix the build X-Git-Tag: 2011.11.20-535097~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac8f03709fb41f499d554ac7ab7ef913991bbfc2;p=thirdparty%2Fopen-vm-tools.git lib/lock: fix the build Running into time.h Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/lock/ulInt.h b/open-vm-tools/lib/lock/ulInt.h index fba801f9a..0e620b576 100644 --- a/open-vm-tools/lib/lock/ulInt.h +++ b/open-vm-tools/lib/lock/ulInt.h @@ -26,13 +26,13 @@ #include #include #include -#include "safetime.h" #include #if defined(_WIN32) typedef DWORD MXUserThreadID; #define MXUSER_INVALID_OWNER 0xFFFFFFFF #else +#include "safetime.h" #include typedef pthread_t MXUserThreadID; #endif diff --git a/open-vm-tools/lib/lock/ulSema.c b/open-vm-tools/lib/lock/ulSema.c index 8fd2f9f4d..89e3510e1 100644 --- a/open-vm-tools/lib/lock/ulSema.c +++ b/open-vm-tools/lib/lock/ulSema.c @@ -29,7 +29,6 @@ #define _XOPEN_SOURCE 600 #endif #include -#include "safetime.h" #include #endif #endif