summary refs log tree commit diff
path: root/src/bin/md5/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/md5/md5.c')
-rw-r--r--src/bin/md5/md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/md5/md5.c b/src/bin/md5/md5.c
index 9112868..4270bcf 100644
--- a/src/bin/md5/md5.c
+++ b/src/bin/md5/md5.c
@@ -23,6 +23,7 @@
 
 #include <sys/types.h>
 #include <sys/queue.h>
+#include <sys/time.h>
 #include <netinet/in.h>
 #include <ctype.h>
 #include <err.h>
@@ -222,8 +223,7 @@ main(int argc, char **argv)
 			usage();
 		}
 	}
-	optind = 1;
-	optreset = 1;
+	optind = 0;
 	while ((fl = getopt(argc, argv, optstr)) != -1) {
 		switch (fl) {
 		case 'a':