From 22ae88868f48090e2a5ad4b9bb165581df91511f Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 24 Nov 2019 17:22:49 +0100 Subject: [PATCH] Fix incorrect include of fcntl.h --- configure.ac | 1 - src/cron.c | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index bffe9ad..5493261 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,6 @@ AC_CHECK_HEADERS( \ sys/timers.h \ sys/types.h \ sys/cdefs.h \ - sys/fcntl.h \ time.h \ unistd.h \ util.h \ diff --git a/src/cron.c b/src/cron.c index 7eabfe9..40e1e76 100644 --- a/src/cron.c +++ b/src/cron.c @@ -40,15 +40,12 @@ #include #include #include +#include #ifdef WITH_INOTIFY # include #endif -#ifdef HAVE_SYS_FCNTL_H -# include -#endif - #include "cronie_common.h" #include "funcs.h" #include "globals.h" -- 1.8.3.1