summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-02-02 22:46:52 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-02-02 22:47:23 -0800
commit1e877596ad212812b95e8dd2a7350a5799d3d7e3 (patch)
tree3e8866b677357cb75032678944b698a9205307e3 /src
parent0febe138d9fef87fa7ed5d68901f4458c2b8ce31 (diff)
downloadgrep-1e877596ad212812b95e8dd2a7350a5799d3d7e3.tar.gz
grep: fix grep.c includes
* src/grep.c: Include strings.h; problem reported by David Monniaux (Bug#34285). Do not include fcntl.h, as system.h does that for us.h
Diffstat (limited to 'src')
-rw-r--r--src/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grep.c b/src/grep.c
index e53b8cd5..fcc07b84 100644
--- a/src/grep.c
+++ b/src/grep.c
@@ -22,10 +22,10 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <wchar.h>
-#include <fcntl.h>
#include <inttypes.h>
#include <stdarg.h>
#include <stdio.h>
+#include <strings.h>
#include "system.h"
#include "argmatch.h"