Permalink
Browse files

This removes the include to <sys/limits.h> in grep.c which is not

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...
1 parent 159fcd5 commit 8ef9db51ac5cbeec0008a516821e5d0aa63cf7fa @howardjp committed Nov 28, 2009
Showing with 1 addition and 2 deletions.
  1. +0 −1 grep.c
  2. +1 −1 grep.h
View
1 grep.c
@@ -27,7 +27,6 @@
*/
#include <sys/types.h>
-#include <sys/limits.h>
#include <sys/stat.h>
#include <sys/queue.h>
View
2 grep.h
@@ -27,8 +27,8 @@
*/
#include <sys/types.h>
-#include <sys/limits.h>
+#include <limits.h>
#include <regex.h>
#include <stdio.h>
#include <zlib.h>

0 comments on commit 8ef9db5

Please sign in to comment.