diff options
Diffstat (limited to 'sys-boot/quik/files/headers.patch')
-rw-r--r-- | sys-boot/quik/files/headers.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-boot/quik/files/headers.patch b/sys-boot/quik/files/headers.patch new file mode 100644 index 000000000000..eccfba698e17 --- /dev/null +++ b/sys-boot/quik/files/headers.patch @@ -0,0 +1,33 @@ +--- util/elfextract.c.bak 2006-12-04 23:08:33.000000000 -0500 ++++ util/elfextract.c 2006-12-04 23:08:45.000000000 -0500 +@@ -6,7 +6,7 @@ + #include <stdio.h> + #include <stdlib.h> + #define __KERNEL__ +-#include <linux/elf.h> ++#include <elf.h> + + FILE *fi, *fo; + char *ni, *no; +--- second/quik.h.bak 2006-12-04 23:10:08.000000000 -0500 ++++ second/quik.h 2006-12-04 23:10:12.000000000 -0500 +@@ -26,7 +26,7 @@ + int tolower(int c); + int stricmp(const char *s1, const char *s2); + int strncmp(const char * cs,const char * ct,size_t count); +-int strlen(const char *s1); ++// int strlen(const char *s1); + char *strcpy(char * dest,const char *src); + char *strncpy(char * dest,const char *src,size_t count); + char *strchr(const char * s, int c); +--- second/misc.c.bak 2010-02-09 22:18:47.000000000 -0500 ++++ second/misc.c 2010-02-09 22:18:52.000000000 -0500 +@@ -11,7 +11,7 @@ + */ + #include <linux/kernel.h> + +-#include <asm/page.h> ++// #include <asm/page.h> + + #include <sys/types.h> + #include "setjmp.h" |