Skip to content

Commit 6cc9548

Browse files
committed
Remove an unneeded include
Remove <fcntl.h> conditional include from util-print.c. Historically read_infile() was in util.c and used open(), so needed it. When part of util.c became util-print.c without read_infile(), the include was left without need. (cherry picked from commit 80dce06)
1 parent ed77709 commit 6cc9548

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

util-print.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343

4444
#include <sys/stat.h>
4545

46-
#ifdef HAVE_FCNTL_H
47-
#include <fcntl.h>
48-
#endif
4946
#include <stdio.h>
5047
#include <stdarg.h>
5148
#include <stdlib.h>

0 commit comments

Comments
 (0)