Skip to content

Commit

Permalink
Merge pull request #7 from rawrtc/usrsctpForNeat
Browse files Browse the repository at this point in the history
Fix Ubuntu 12.04 build error
  • Loading branch information
ruengeler authored Apr 6, 2017
2 parents 16d4ddc + 2022351 commit 82499b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions usrsctplib/netinet/sctputil.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ __FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 310590 2016-12-26 11:06:41Z tuex
#include <netinet/sctp_auth.h>
#include <netinet/sctp_asconf.h>
#include <netinet/sctp_bsd_addr.h>
#if defined(__Userspace_os_Linux)
#define __FAVOR_BSD /* (on Ubuntu at least) enables UDP header field names like BSD in RFC 768 */
#endif
#if defined(__Userspace__)
#include <netinet/sctp_constants.h>
#if !defined(__Userspace_os_Windows)
Expand Down
3 changes: 3 additions & 0 deletions usrsctplib/user_recv_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
#endif
#endif
#endif
#if defined(__Userspace_os_Linux)
#define __FAVOR_BSD /* (on Ubuntu at least) enables UDP header field names like BSD in RFC 768 */
#endif
#if defined(__Userspace__)
#ifdef INET6
#include <netinet6/sctp6_var.h>
Expand Down

0 comments on commit 82499b1

Please sign in to comment.