]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
lib/lock: fix the build
authorVMware, Inc <>
Mon, 21 Nov 2011 23:59:51 +0000 (15:59 -0800)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 21 Nov 2011 23:59:51 +0000 (15:59 -0800)
Running into time.h

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/lock/ulInt.h
open-vm-tools/lib/lock/ulSema.c

index fba801f9a7d847e332ac7f77aaba210158d9abcc..0e620b576dba08a66a8bdbf4a70eb793b2bbcd7e 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include "safetime.h"
 #include <errno.h>
 
 #if defined(_WIN32)
 typedef DWORD MXUserThreadID;
 #define MXUSER_INVALID_OWNER 0xFFFFFFFF
 #else
+#include "safetime.h"
 #include <pthread.h>
 typedef pthread_t MXUserThreadID;
 #endif
index 8fd2f9f4dd6178e49037498b334b3f5777ad1480..89e3510e18d5539e0cbf3f50b9ea6b14c64304fe 100644 (file)
@@ -29,7 +29,6 @@
 #define _XOPEN_SOURCE 600
 #endif
 #include <semaphore.h>
-#include "safetime.h"
 #include <sys/time.h>
 #endif
 #endif