sctp/sctp_big_chunk.c: Fix compiler error
On old distros(e.g. RHEL5), Compilation failed because of redefinitions
from linux/sctp.h(including linux/in.h) and netinet/in.h, as below:
----------------------------------------------------------------------
In file included from /usr/include/linux/sctp.h:54,
from ../../../include/lapi/sctp.h:22,
from sctp_big_chunk.c:35:
/usr/include/linux/in.h:26: error: redeclaration of enumerator ‘IPPROTO_IP’
/usr/include/netinet/in.h:33: error: previous definition of ‘IPPROTO_IP’ was here
...
----------------------------------------------------------------------
1) Remove the include of linux/sctp.h to fix it.
2) Include netinet/sctp.h, if it was available.
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
diff --git a/configure.ac b/configure.ac
index 9358064..9208f1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,8 +44,8 @@
linux/mempolicy.h \
linux/module.h \
linux/netlink.h \
- linux/sctp.h \
mm.h \
+ netinet/sctp.h \
pthread.h \
sys/epoll.h \
sys/fanotify.h \