From b2383227cda0fd4025fc14c596d323d832c09a50 Mon Sep 17 00:00:00 2001 From: Andrew Fenn Date: Wed, 30 Oct 2013 13:03:24 +0700 Subject: [PATCH] Fix for older kernels to make sure O_CLOEXEC is defined This patch fixes an issue where I was getting build errors that O_CLOEXEC was undefined on an older 2.6.32 kernel. Even though the flag is supported in this kernel it was not getting defined. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 034fc34..56d1bd8 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,7 @@ AM_INIT_AUTOMAKE([foreign]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([lsyncd.c]) AC_CONFIG_HEADER([config.h]) +AC_USE_SYSTEM_EXTENSIONS ### # Checks for programs.