aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-09 06:59:58 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-09 06:59:58 +0000
commitb71a0fe71e5b0b450afc392a182ec5f3b7488408 (patch)
tree75d6c4187384bc385d59838834bac80f53a077cd /modutils
parent8addc88df4e17c82c6c73cc1e48bf78c6cdf48a7 (diff)
downloadbusybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.gz
busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.tar.bz2
busybox-w32-b71a0fe71e5b0b450afc392a182ec5f3b7488408.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 git-svn-id: svn://busybox.net/trunk/busybox@795 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c5
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