diff --git a/configure b/configure index 75e1f10f9..f03343821 100755 --- a/configure +++ b/configure @@ -2241,7 +2241,7 @@ cat > $TMPC << EOF int main(void) { - int efd = eventfd(0, 0); + int efd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); return 0; } EOF