Skip to content

Commit

Permalink
This removes the include to <sys/limits.h> in grep.c which is not
Browse files Browse the repository at this point in the history
necessary since grep.h includes it but also replaces that include
with an include to <limits.h> for portability, or something
approaching it.
  • Loading branch information
howardjp committed Nov 28, 2009
1 parent 159fcd5 commit 8ef9db5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion grep.c
Expand Up @@ -27,7 +27,6 @@
*/

#include <sys/types.h>
#include <sys/limits.h>
#include <sys/stat.h>
#include <sys/queue.h>

Expand Down
2 changes: 1 addition & 1 deletion grep.h
Expand Up @@ -27,8 +27,8 @@
*/

#include <sys/types.h>
#include <sys/limits.h>

#include <limits.h>
#include <regex.h>
#include <stdio.h>
#include <zlib.h>
Expand Down

0 comments on commit 8ef9db5

Please sign in to comment.