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.
# 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__)