Skip to content

Commit 80dce06

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.
1 parent 94a3708 commit 80dce06

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
@@ -41,9 +41,6 @@
4141

4242
#include <sys/stat.h>
4343

44-
#ifdef HAVE_FCNTL_H
45-
#include <fcntl.h>
46-
#endif
4744
#include <stdio.h>
4845
#include <stdarg.h>
4946
#include <stdlib.h>

0 commit comments

Comments
 (0)