diff options
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index d3199582ab..c01f83d5fb 100644 --- a/configure.in +++ b/configure.in @@ -764,7 +764,8 @@ PGAC_UNION_SEMUN AC_MSG_CHECKING(for fcntl(F_SETLK)) -AC_TRY_LINK([#include <fcntl.h>], +AC_TRY_LINK([#include <stdio.h> +#include <fcntl.h>], [struct flock lck; lck.l_whence = SEEK_SET; lck.l_start = lck.l_len = 0; lck.l_type = F_WRLCK; |
