Skip to content

Commit 973f241

Browse files
committed
Add define that is missing in RHEL 8
1 parent 160b6f2 commit 973f241

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/library/file.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ static inline void rewind_fd(int fd)
8787
lseek(fd, 0, SEEK_SET);
8888
}
8989

90+
// RHEL 8 does not have this define. Remove when RHEL 8 is EOL.
91+
#ifndef MAGIC_NO_CHECK_JSON
92+
#define MAGIC_NO_CHECK_JSON 0
93+
#endif
9094

9195
// Initialize what we can now so that its not done each call
9296
int file_init(void)

0 commit comments

Comments
 (0)