This patch builds silo against glibc elf.h since linux/elf.h is gone in newer headers. Also removes the asm/page.h include which is also gone.

--
Gustavo Zacarias
Gentoo/SPARC monkey
diff -Nura silo/second/main.c silo-1.4.13/second/main.c
--- silo/second/main.c  2007-07-24 11:04:12.000000000 -0300
+++ silo-1.4.13/second/main.c   2007-07-24 11:09:04.000000000 -0300
@@ -25,8 +25,7 @@
 /* TODO: This file is a good candidate for rewrite from scratch.  */
 
 #include <silo.h>
-#include <asm/page.h>
-#include <linux/elf.h>
+#include <elf.h>
 #include <stringops.h>
 
 #ifndef NULL

Reply via email to