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
Steve Lhomme
VLC
Commits
8e6fac32
Commit
8e6fac32
authored
Sep 15, 2007
by
Rémi Denis-Courmont
Browse files
Check for <linux/dccp.h> before including it
parent
2eae7e70
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
8e6fac32
...
...
@@ -796,7 +796,7 @@ AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioc
AC_CHECK_HEADERS([arpa/inet.h net/if.h netinet/in.h sys/socket.h netinet/udplite.h])
if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
AC_CHECK_HEADERS(machine/param.h sys/shm.h)
AC_CHECK_HEADERS(linux/version.h)
AC_CHECK_HEADERS(
[
linux/version.h
linux/dccp.h]
)
AC_CHECK_HEADERS(syslog.h)
fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
...
...
src/network/udp.c
View file @
8e6fac32
...
...
@@ -75,7 +75,7 @@
# define IPPROTO_UDPLITE 136
/* IANA */
#endif
#ifdef
__linux__
#ifdef
HAVE_LINUX_DCCP_H
# include <linux/dccp.h>
# ifndef SOCK_DCCP
/* provisional API */
# define SOCK_DCCP 6
...
...
Write
Preview
Markdown
is supported
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