summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt_long.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2000-04-02 22:04:06 +0000
committerchristos <christos@NetBSD.org>2000-04-02 22:04:06 +0000
commit6d34da153c2a6f87aafec283ffabf41e725eddb8 (patch)
treee83ad21f15925eb3f45170f35e6f6f4ab98bc217 /lib/libc/stdlib/getopt_long.c
parentd99720e261e90b80911fa4f7e3dc3a26a73ba091 (diff)
Add "namespace.h" and include <getopt.h> since we moved the stuff out
of <unistd.h>
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
-rw-r--r--lib/libc/stdlib/getopt_long.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt_long.c b/lib/libc/stdlib/getopt_long.c
index 036b2123fb6..dc118346edb 100644
--- a/lib/libc/stdlib/getopt_long.c
+++ b/lib/libc/stdlib/getopt_long.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getopt_long.c,v 1.4 2000/04/02 20:27:58 christos Exp $ */
+/* $NetBSD: getopt_long.c,v 1.5 2000/04/02 22:04:06 christos Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,15 +38,17 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getopt_long.c,v 1.4 2000/04/02 20:27:58 christos Exp $");
+__RCSID("$NetBSD: getopt_long.c,v 1.5 2000/04/02 22:04:06 christos Exp $");
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
+
#include <assert.h>
#include <errno.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
+#include <getopt.h>
#ifdef REPLACE_GETOPT
#ifdef __weak_alias