]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
hostinfoPosix.c: remove reference to sys/timeb.h
authorVMware, Inc <>
Mon, 21 May 2012 22:26:37 +0000 (15:26 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Tue, 22 May 2012 18:57:13 +0000 (11:57 -0700)
sys/timeb.h is deprecated in FreeBSD9.0 and may cause compilation
warnings turning into breakages when building Open VM Tools.
Luckily we are not using ftime() that this header declares, so
we can simply get rid of it.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/misc/hostinfoPosix.c

index 4e77a6846530c84feef34204ba9e481bc5b874d2..8fa18cc0a6c659389b1e7e9ee29773925648ee19 100644 (file)
@@ -33,7 +33,6 @@
 #include <sys/wait.h>
 #include <signal.h>
 #include <sys/time.h>
-#include <sys/timeb.h>
 #include <pwd.h>
 #include <pthread.h>
 #include <sys/resource.h>