open-vm-tools/glibc-sysmacros.patch
2017-02-16 18:31:07 -08:00

13 lines
393 B
Diff

--- lib/wiper/wiperPosix.c.orig 2017-02-16 18:24:11.857681456 -0800
+++ lib/wiper/wiperPosix.c 2017-02-16 18:25:04.057384238 -0800
@@ -30,6 +30,9 @@
#include <stdio.h>
#include <sys/stat.h>
#if defined(__linux__) || defined(sun)
+# if defined(__linux__)
+# include<sys/sysmacros.h>
+# endif
# include <sys/vfs.h>
#elif defined(__FreeBSD__) || defined(__APPLE__)
# include <sys/param.h>