summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 96be8330..90b3cb96 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -242,7 +242,7 @@ int main()
pool += (pgsize - ((long int)pool % pgsize));
err = mlock( pool, 4096 );
- if( !err || errno == EPERM )
+ if( !err || errno == EPERM || errno == EGAIN)
return 0; /* okay */
return 1; /* hmmm */