Browse code

sctp: compile fix if -DUSE_SCTP is not defined

If -DUSE_SCTP is not defined don't try to use sctp library
includes.

Andrei Pelinescu-Onciul authored on 28/06/2009 09:22:38
Showing 1 changed files
... ...
@@ -27,11 +27,13 @@
27 27
 
28 28
 #include <string.h>
29 29
 #include <sys/types.h>
30
+#ifdef USE_SCTP
30 31
 #include <sys/socket.h>
31 32
 #include <netinet/in.h>
32 33
 #include <netinet/in_systm.h>
33 34
 #include <netinet/ip.h>
34 35
 #include <netinet/sctp.h>
36
+#endif /* USE_SCTP */
35 37
 #include <errno.h>
36 38
 
37 39
 #include "sctp_options.h"