summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/lilo/files/lilo-22.5.9-glibc233.patch')
-rw-r--r--sys-boot/lilo/files/lilo-22.5.9-glibc233.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-boot/lilo/files/lilo-22.5.9-glibc233.patch b/sys-boot/lilo/files/lilo-22.5.9-glibc233.patch
new file mode 100644
index 000000000000..61cb30dc963c
--- /dev/null
+++ b/sys-boot/lilo/files/lilo-22.5.9-glibc233.patch
@@ -0,0 +1,24 @@
+--- boot.c.orig 2003-11-25 05:31:24.000000000 +0000
++++ boot.c 2004-06-09 16:35:49.092481712 +0100
+@@ -17,6 +17,9 @@
+ #include <ctype.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#ifndef PAGE_SIZE
++# include <asm/page.h>
++#endif
+ #include <sys/stat.h>
+
+ #include "config.h"
+--- partition.c.orig 2003-11-25 06:00:02.000000000 +0000
++++ partition.c 2004-06-09 16:36:51.579982168 +0100
+@@ -17,6 +17,9 @@
+ #include <ctype.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#ifndef PAGE_SIZE
++# include <asm/page.h>
++#endif
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <asm/unistd.h>