summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-07-09 05:56:14 +0000
committerEric Andersen2000-07-09 05:56:14 +0000
commite9b527ae48cb9609ea0668974de32da523ebd231 (patch)
tree46ee5e7f2547b06a6cf4c0e5843af9f8c6148605
parent161cf93404784ba22e689fab487f38469ae34b98 (diff)
downloadbusybox-e9b527ae48cb9609ea0668974de32da523ebd231.zip
busybox-e9b527ae48cb9609ea0668974de32da523ebd231.tar.gz
include getopt.h
-Erik
-rw-r--r--findutils/grep.c2
-rw-r--r--grep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c
index c43ad01..05bf8b8 100644
--- a/findutils/grep.c
+++ b/findutils/grep.c
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h> /* for getopt() */
+#include <getopt.h>
#include <regex.h>
#include <string.h> /* for strerror() */
#include <errno.h>
diff --git a/grep.c b/grep.c
index c43ad01..05bf8b8 100644
--- a/grep.c
+++ b/grep.c
@@ -22,7 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h> /* for getopt() */
+#include <getopt.h>
#include <regex.h>
#include <string.h> /* for strerror() */
#include <errno.h>