From e4b9beb2d8872d2f46316ac8499d73fe5e8c521f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 15 Sep 2014 15:52:38 +1000 Subject: ctdb-build: Check for ETIME in errno.h ETIME is not defined on freebsd. Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- ctdb/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctdb/wscript b/ctdb/wscript index 8951f79df8..fd7650a5cf 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -90,6 +90,9 @@ def configure(conf): sys.exit(1) conf.CHECK_FUNCS('mlockall') + if not conf.CHECK_VARIABLE('ETIME', headers='errno.h'): + conf.DEFINE('ETIME', 'ETIMEDOUT') + have_pmda = False if Options.options.ctdb_pmda: pmda_support = True -- cgit