void-packages/templates/util-linux-fix-build.diff

13 lines
360 B
Diff

--- disk-utils/fsck.cramfs.c.orig 2008-10-23 00:59:51.000000000 +0200
+++ disk-utils/fsck.cramfs.c 2008-10-23 01:00:24.000000000 +0200
@@ -76,7 +76,9 @@ static uid_t euid; /* effective UID */
#define PAD_SIZE 512
+#ifdef HAVE_asm_page_h
#include <asm/page.h>
+#endif
#ifdef PAGE_SIZE
#define PAGE_CACHE_SIZE ((int) PAGE_SIZE)
#elif defined __ia64__