summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-11 12:23:09 +0000
committerpeter <peter@FreeBSD.org>1997-03-11 12:23:09 +0000
commit0c594fc8cfb630d5c35ff54f2f1573d8d9905f8f (patch)
tree24abd5ae8ac71cc58e02a195d564bb6df7aa9dec
parentac28da2dc002612b2fd129500af8084d63aa8504 (diff)
downloadFreeBSD-src-0c594fc8cfb630d5c35ff54f2f1573d8d9905f8f.zip
FreeBSD-src-0c594fc8cfb630d5c35ff54f2f1573d8d9905f8f.tar.gz
Compile under Lite2 (getopt() is in unistd.h etc)
-rw-r--r--sbin/modload/modload.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c
index 6f1c174..68da1ab 100644
--- a/sbin/modload/modload.c
+++ b/sbin/modload/modload.c
@@ -29,11 +29,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: modload.c,v 1.16 1997/02/22 14:32:40 peter Exp $
*/
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
@@ -58,8 +59,6 @@ int verbose = 0;
int quiet = 0;
int dounlink = 0;
-extern char *sys_siglist[];
-
/*
* Expected linker options:
*
OpenPOWER on IntegriCloud