]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Tools: More support for "VMware Tools for Linux-arm64"
authorOliver Kurth <okurth@vmware.com>
Mon, 6 Jan 2020 23:46:20 +0000 (15:46 -0800)
committerOliver Kurth <okurth@vmware.com>
Mon, 6 Jan 2020 23:46:20 +0000 (15:46 -0800)
Preliminary touch-ups in the main branch to support the upcoming upstreaming
of the "VMware Tools for Linux-arm64" build code.

bora-vmsoft/vgauth/service/servicePosix.c:
  The glibc on arm64 does not have <sys/io.h>.  It makes sense because I/O
  ports are an x86-ism (for more details, sees
   https://bugzilla.redhat.com/show_bug.cgi?id=1116162#c1 ).  Instead of
  making the inclusion conditions more complex, It was noticed that none
  of the symbols defined in <sys/io.h> and <sys/sysinfo.h> are used in
  this C file.  So these inclusions are not necessary.

open-vm-tools/vgauth/service/servicePosix.c

index 7bb719a195a99de61f24fd324ce38659e35516a8..ad275efd04f9e5678952d268cabf47e123900de8 100644 (file)
 #     define RLIMIT_AS RLIMIT_RSS
 #  endif
 #endif
-#else
-#if !defined(sun) && (!defined(USING_AUTOCONF) || (defined(HAVE_SYS_IO_H) && defined(HAVE_SYS_SYSINFO_H)))
-#include <sys/io.h>
-#include <sys/sysinfo.h>
-#ifndef HAVE_SYSINFO
-#define HAVE_SYSINFO 1
-#endif
-#endif
 #endif
 
 #if defined(__APPLE__) || defined(__FreeBSD__)