1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
|