aboutsummaryrefslogtreecommitdiff
path: root/util-linux/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/getopt.c')
-rw-r--r--util-linux/getopt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 10e1dc49b..85ff76189 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -25,7 +25,7 @@
25 * Added NLS support (partly written by Arkadiusz Mickiewicz 25 * Added NLS support (partly written by Arkadiusz Mickiewicz
26 * <misiek@misiek.eu.org>) 26 * <misiek@misiek.eu.org>)
27 * Ported to Busybox - Alfred M. Szmidt <ams@trillian.itslinux.org> 27 * Ported to Busybox - Alfred M. Szmidt <ams@trillian.itslinux.org>
28 * Removed --version/-V and --help/-h in 28 * Removed --version/-V and --help/-h
29 * Removed parse_error(), using bb_error_msg() from Busybox instead 29 * Removed parse_error(), using bb_error_msg() from Busybox instead
30 * Replaced our_malloc with xmalloc and our_realloc with xrealloc 30 * Replaced our_malloc with xmalloc and our_realloc with xrealloc
31 * 31 *
@@ -79,7 +79,9 @@
79//usage: " esac\n" 79//usage: " esac\n"
80//usage: "done\n" 80//usage: "done\n"
81 81
82#include <getopt.h> 82#if ENABLE_FEATURE_GETOPT_LONG
83# include <getopt.h>
84#endif
83#include "libbb.h" 85#include "libbb.h"
84 86
85/* NON_OPT is the code that is returned when a non-option is found in '+' 87/* NON_OPT is the code that is returned when a non-option is found in '+'