Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
bd1f3a7d
Commit
bd1f3a7d
authored
Sep 21, 2006
by
Howard Chu
Browse files
ITS
#4674
fix poll detection
parent
393e6e5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
bd1f3a7d
...
...
@@ -950,7 +950,9 @@ dnl AC_SYS_RESTARTABLE_SYSCALLS
dnl ----------------------------------------------------------------
AC_CHECK_FUNCS( poll )
AC_CHECK_HEADERS( poll.h )
if test $ac_cv_func_poll = yes; then
AC_CHECK_HEADERS( poll.h sys/poll.h )
fi
dnl ----------------------------------------------------------------
AC_CHECK_HEADERS( sys/epoll.h )
...
...
include/ac/socket.h
View file @
bd1f3a7d
...
...
@@ -24,6 +24,9 @@
#ifdef HAVE_POLL_H
#include
<poll.h>
#endif
#ifdef HAVE_SYS_POLL_H
#include
<sys/poll.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include
<sys/socket.h>
...
...
@@ -220,7 +223,7 @@ LDAP_LUTIL_F( int ) getpeereid( int s, uid_t *, gid_t * );
#define NI_MAXHOST 256
#endif
#ifdef HAVE_POLL
_H
#ifdef HAVE_POLL
# ifndef INFTIM
# define INFTIM (-1)
# endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment