commit | 9a5eec1142e144ee00671ca793affa26c10f2749 | [log] [tgz] |
---|---|---|
author | Denton Gentry <dgentry@google.com> | Sun Jun 12 06:15:30 2011 -0700 |
committer | Denton Gentry <dgentry@google.com> | Sun Jun 12 06:15:30 2011 -0700 |
tree | 932cbc2c1ab8f64e4ace6a11ea1e6e6b6ebb5f44 | |
parent | ab71d28b7f7ec047642731a6ef333bdebe1842f5 [diff] |
include unistd.h for getopt()
diff --git a/hd.c b/hd.c index 1f7d179..959d1f7 100644 --- a/hd.c +++ b/hd.c
@@ -5,6 +5,7 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <errno.h> +#include <unistd.h> int hd_main(int argc, char *argv[]) {