aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-09 06:59:58 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-09 06:59:58 +0000
commit999bf72f49a501e47448010c4ddb06dc03ed1612 (patch)
tree75d6c4187384bc385d59838834bac80f53a077cd /modutils
parente9b527ae48cb9609ea0668974de32da523ebd231 (diff)
downloadbusybox-999bf72f49a501e47448010c4ddb06dc03ed1612.tar.gz
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.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 @@
#include <dirent.h>
#include <ctype.h>
#include <assert.h>
+#include <getopt.h>
#include <sys/utsname.h>
#include <sys/syscall.h>
#include <linux/unistd.h>
@@ -71,7 +72,7 @@
#ifndef MODUTILS_MODULE_H
#define MODUTILS_MODULE_H 1
-#ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $"
+#ident "$Id: insmod.c,v 1.13 2000/07/09 06:59:58 andersen Exp $"
/* This file contains the structures used by the 2.0 and 2.1 kernels.
We do not use the kernel headers directly because we do not wish
@@ -277,7 +278,7 @@ int delete_module(const char *);
#ifndef MODUTILS_OBJ_H
#define MODUTILS_OBJ_H 1
-#ident "$Id: insmod.c,v 1.12 2000/07/08 18:55:24 andersen Exp $"
+#ident "$Id: insmod.c,v 1.13 2000/07/09 06:59:58 andersen Exp $"
/* The relocatable object is manipulated using elfin types. */