summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xctdb/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 8951f79df8f..fd7650a5cf0 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