Skip to content

Commit

Permalink
Fix clang build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ossy-szeged committed Sep 23, 2015
1 parent 1832dbd commit 08c0bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ freebsd*)
LIBCFLAGS="$LIBCFLAGS -U__FreeBSD__ -D__Userspace_os_FreeBSD"
;;
linux*)
CFLAGS="$CFLAGS -std=c99 -pedantic -Wall -Werror -pthread -D_GNU_SOURCE"
CFLAGS="$CFLAGS -std=c99 -pedantic -Wall -Werror -Wno-parentheses-equality -pthread -D_GNU_SOURCE"
LIBCFLAGS="$LIBCFLAGS -D__Userspace_os_Linux"
;;
netbsd*)
Expand Down
2 changes: 1 addition & 1 deletion usrsctplib/netinet/sctp_os_userspace.h
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ int sctp_userspace_get_mtu_from_ifn(uint32_t if_index, int af);
#define SCTP_RELEASE_HEADER(m)
#define SCTP_RELEASE_PKT(m) sctp_m_freem(m)
/* UDP __Userspace__ - dummy definition */
#define SCTP_ENABLE_UDP_CSUM(m) m=m
#define SCTP_ENABLE_UDP_CSUM(m)
/* BSD definition */
/* #define SCTP_ENABLE_UDP_CSUM(m) do { \ */
/* m->m_pkthdr.csum_flags = CSUM_UDP; \ */
Expand Down

1 comment on commit 08c0bbf

@ossy-szeged
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

build logs can be found here: https://bugs.webkit.org/show_bug.cgi?id=145128

Please sign in to comment.