void-packages/srcpkgs/nilfs-utils/patches/rpc-types.patch
2016-04-27 10:44:31 +02:00

11 lines
286 B
Diff

--- ./sbin/mount/sundries.h.orig
+++ ./sbin/mount/sundries.h
@@ -15,7 +15,7 @@
#include <signal.h>
#include <stdarg.h>
#include <stdlib.h>
-#if !defined(bool_t) && !defined(__GLIBC__)
+#if !defined(bool_t) && !defined(__GLIBC__) && HAVE_RPC_TYPES_H
#include <rpc/types.h>
#endif