summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2010-08-10 19:54:32 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-10 19:54:32 -0400
commiteb078db384e336c1f2338adfdf8f6594660964d6 (patch)
tree4db96ecba74d713c34b1ec2ac6c6eed75dc9262a
parentbf2e821a55d8aa3de1cda7288a0e22883110fdc6 (diff)
downloadfio-eb078db384e336c1f2338adfdf8f6594660964d6.tar.gz
Add comment as to where getopt_long.c came from
Also fix the include path. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-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;