$NetBSD: patch-ab,v 1.3 2005/12/18 14:27:01 joerg Exp $ --- file.c.orig 2004-01-02 15:00:27.000000000 +0000 +++ file.c @@ -34,10 +34,10 @@ #include +#include #include #include #include -#include #include "grep.h" @@ -122,7 +122,7 @@ gzfgetln(gzFile *f, size_t *len) } file_t * -grep_fdopen(int fd, char *mode) +grep_fdopen(int fd, const char *mode) { file_t *f; @@ -148,7 +148,7 @@ grep_fdopen(int fd, char *mode) } file_t * -grep_open(char *path, char *mode) +grep_open(const char *path, const char *mode) { file_t *f;