Make silo use glibc elf.h instead of kernel headers
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
@@ -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