File glibc-sysmacros.patch of Package open-vm-tools

--- a/open-vm-tools/lib/wiper/wiperPosix.c	2017-02-11 03:06:43.000000000 -0700
+++ b/open-vm-tools/lib/wiper/wiperPosix.c	2017-03-27 15:06:41.269310652 -0600
@@ -31,6 +31,9 @@
 #include <sys/stat.h>
 #if defined(__linux__) || defined(sun)
 # include <sys/vfs.h>
+# if defined(__linux__)
+#  include <sys/sysmacros.h>
+# endif
 #elif defined(__FreeBSD__) || defined(__APPLE__)
 # include <sys/param.h>
 # include <sys/ucred.h>
openSUSE Build Service is sponsored by