include getopt.h
authorEric Andersen <andersen@codepoet.org>
Sun, 9 Jul 2000 05:56:14 +0000 (05:56 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 9 Jul 2000 05:56:14 +0000 (05:56 -0000)
 -Erik

findutils/grep.c
grep.c

index c43ad013401d74538d271908f8af9fa91e8b7ddf..05bf8b8cfddfd6a4dbfec49123367db9bb2a59e4 100644 (file)
@@ -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 c43ad013401d74538d271908f8af9fa91e8b7ddf..05bf8b8cfddfd6a4dbfec49123367db9bb2a59e4 100644 (file)
--- 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>