[PATCH] Make silo use glibc elf.h instead of kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux