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
GSoC
GSoC2018
macOS
vlc
Commits
fb8414ad
Commit
fb8414ad
authored
Jan 18, 2009
by
Rémi Denis-Courmont
Browse files
Include <sys/eventfd.h> as needed
parent
871a8bb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
fb8414ad
...
...
@@ -795,7 +795,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
dnl Check for headers
AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h stdbool.h getopt.h strings.h inttypes.h sys/int_types.h wchar.h locale.h)
AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h])
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h
sys/eventfd.h
])
AC_CHECK_HEADERS([net/if.h], [], [],
[
#include <sys/socket.h>
...
...
src/misc/objects.c
View file @
fb8414ad
...
...
@@ -62,6 +62,9 @@
# include <fcntl.h>
# include <errno.h>
/* ENOSYS */
#endif
#ifdef HAVE_SYS_EVENTFD_H
# include <sys/eventfd.h>
#endif
#include
<assert.h>
/*****************************************************************************
...
...
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