Skip to contentSkip to conversation

Make silo use glibc elf.h instead of kernel headers

PATCH New Gustavo Zacarias 1 participant 1 message Jul 24, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make silo use glibc elf.h instead of kernel headers

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.

Signature · 2 lines
Gustavo Zacarias
Gentoo/SPARC monkey
second/main.c +1 -2
diff -Nura silo/second/main.c silo-1.4.13/second/main.c
@@ -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