autoconf update for supporting Userland SCTP(libusrsctp)

This commit is contained in:
Sukchan Lee 2017-10-17 20:44:05 +09:00
parent a020b587c1
commit ea253016fc
2 changed files with 37 additions and 8 deletions

View file

@ -7,9 +7,15 @@
#include "core_errno.h"
#include "core_time.h"
#if USE_USRSCTP
#if HAVE_USRSCTP_H
#include <usrsctp.h>
#endif
#else
#if HAVE_NETINET_SCTP_H
#include <netinet/sctp.h>
#endif
#endif
#if LINUX == 1
#include <netpacket/packet.h>