diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-09 06:59:58 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-09 06:59:58 +0000 |
commit | 999bf72f49a501e47448010c4ddb06dc03ed1612 (patch) | |
tree | 75d6c4187384bc385d59838834bac80f53a077cd /modutils | |
parent | e9b527ae48cb9609ea0668974de32da523ebd231 (diff) | |
download | busybox-w32-999bf72f49a501e47448010c4ddb06dc03ed1612.tar.gz busybox-w32-999bf72f49a501e47448010c4ddb06dc03ed1612.tar.bz2 busybox-w32-999bf72f49a501e47448010c4ddb06dc03ed1612.zip |
More portability updates. Now compiles cleanly vs glibc, libc5, and uclibc
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due
to missing stuff in the library).
-Erik
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 75058b959..79732b017 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <dirent.h> | 38 | #include <dirent.h> |
39 | #include <ctype.h> | 39 | #include <ctype.h> |
40 | #include <assert.h> | 40 | #include <assert.h> |
41 | #include <getopt.h> | ||
41 | #include <sys/utsname.h> | 42 | #include <sys/utsname.h> |
42 | #include <sys/syscall.h> | 43 | #include <sys/syscall.h> |
43 | #include <linux/unistd.h> | 44 | #include <linux/unistd.h> |
@@ -71,7 +72,7 @@ | |||
71 | #ifndef MODUTILS_MODULE_H | 72 | #ifndef MODUTILS_MODULE_H |
72 | #define MODUTILS_MODULE_H 1 | 73 | #define MODUTILS_MODULE_H 1 |
73 | 74 | ||
74 | #ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $" | 75 | #ident "$Id: insmod.c,v 1.13 2000/07/09 06:59:58 andersen Exp $" |
75 | 76 | ||
76 | /* This file contains the structures used by the 2.0 and 2.1 kernels. | 77 | /* This file contains the structures used by the 2.0 and 2.1 kernels. |
77 | We do not use the kernel headers directly because we do not wish | 78 | We do not use the kernel headers directly because we do not wish |
@@ -277,7 +278,7 @@ int delete_module(const char *); | |||
277 | #ifndef MODUTILS_OBJ_H | 278 | #ifndef MODUTILS_OBJ_H |
278 | #define MODUTILS_OBJ_H 1 | 279 | #define MODUTILS_OBJ_H 1 |
279 | 280 | ||
280 | #ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $" | 281 | #ident "$Id: insmod.c,v 1.13 2000/07/09 06:59:58 andersen Exp $" |
281 | 282 | ||
282 | /* The relocatable object is manipulated using elfin types. */ | 283 | /* The relocatable object is manipulated using elfin types. */ |
283 | 284 | ||