summaryrefslogtreecommitdiff
path: root/lib/getopt_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getopt_long.c')
-rw-r--r--lib/getopt_long.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/getopt_long.c b/lib/getopt_long.c
index 3d80627f..6e8abc06 100644
--- a/lib/getopt_long.c
+++ b/lib/getopt_long.c
@@ -6,12 +6,15 @@
* - Option reordering is not supported
* - -W foo is not supported
* - First optstring character "-" not supported.
+ *
+ * This file was imported from the klibc library from hpa
*/
#include <stdint.h>
#include <unistd.h>
#include <string.h>
-#include <getopt.h>
+
+#include "getopt.h"
char *optarg;
int optind, opterr, optopt;