mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
open-vm-tools: Add new package open-vm-tools
Add new package, open-vm-tools is Open Virtual Machine Tools for VMware guest OS tested: OpenWrt master and 18.06.2 (x86_64) on ESXi 6.5, 6.7 Signed-off-by: Yuhei OKAWA <tochiro.srchack@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
7c0c22f6f7
commit
48eadd2ffd
@@ -0,0 +1,29 @@
|
||||
diff -urN a/configure.ac b/configure.ac
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1208,6 +1208,7 @@
|
||||
AC_TYPE_PID_T
|
||||
AC_TYPE_SIZE_T
|
||||
AC_CHECK_MEMBERS([struct stat.st_rdev])
|
||||
+AC_CHECK_MEMBERS([struct timespec.tv_sec],[],[],[[#include <time.h>]])
|
||||
AC_HEADER_TIME
|
||||
AC_STRUCT_TM
|
||||
AC_C_VOLATILE
|
||||
diff -urN a/lib/include/hgfsUtil.h b/lib/include/hgfsUtil.h
|
||||
--- a/lib/include/hgfsUtil.h
|
||||
+++ b/lib/include/hgfsUtil.h
|
||||
@@ -53,13 +53,7 @@
|
||||
# include <time.h>
|
||||
# endif
|
||||
# include "vm_basic_types.h"
|
||||
-# if !defined _STRUCT_TIMESPEC && \
|
||||
- !defined _TIMESPEC_DECLARED && \
|
||||
- !defined __timespec_defined && \
|
||||
- !defined sun && \
|
||||
- !defined __FreeBSD__ && \
|
||||
- !__APPLE__ && \
|
||||
- !defined _WIN32
|
||||
+# if !defined HAVE_STRUCT_TIMESPEC_TV_SEC
|
||||
struct timespec {
|
||||
time_t tv_sec;
|
||||
long tv_nsec;
|
||||
Reference in New Issue
Block a user