Add comment as to where getopt_long.c came from
authorJens Axboe <jaxboe@fusionio.com>
Tue, 10 Aug 2010 23:54:32 +0000 (19:54 -0400)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 10 Aug 2010 23:54:32 +0000 (19:54 -0400)
Also fix the include path.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
lib/getopt_long.c

index 3d80627f5395c6bba4d5d28ac73170c46290e198..6e8abc0678d1280f415f9c2d4e20f79778a36982 100644 (file)
@@ -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;