Re: [LARTC] iproute2-2.6.9-041019 compiling error

2004-10-20 Thread Lopsch
This should fix it. diff -Nru a/ip/xfrm.h b/ip/xfrm.h --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 @@ -28,7 +28,10 @@ #include #include #include -#include "utils.h" + +#ifndef IPPROTO_SCTP +# define IPPROTO_SCTP 132 +#endif #define XFRM_MAX_DEPTH 6

Re: [LARTC] iproute2-2.6.9-041019 compiling error

2004-10-20 Thread Lopsch
This should fix it. diff -Nru a/ip/xfrm.h b/ip/xfrm.h --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 @@ -28,7 +28,10 @@ #include #include #include -#include "utils.h" + +#ifndef IPPROTO_SCTP +# define IPPROTO_SCTP 132 +#endif #define XFRM_MAX_DEPTH 6

Re: [LARTC] iproute2-2.6.9-041019 compiling error

2004-10-20 Thread Stephen Hemminger
This should fix it. diff -Nru a/ip/xfrm.h b/ip/xfrm.h --- a/ip/xfrm.h 2004-10-20 16:40:09 -07:00 +++ b/ip/xfrm.h 2004-10-20 16:40:09 -07:00 @@ -28,7 +28,10 @@ #include #include #include -#include "utils.h" + +#ifndef IPPROTO_SCTP +# define IPPROTO_SCTP 132 +#endif #define XFRM_MAX_DEPTH

[LARTC] iproute2-2.6.9-041019 compiling error

2004-10-20 Thread Lopsch
While compiling the new release i´ll get this error: gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -DRESOLVE_HOSTNAMES -c -o ipxfrm.o ipxfrm.c ipxfrm.c: In function `xfrm_selector_print': ipxfrm.c:395: error: `IPPROTO_SCTP' undeclared (first use in this function) ipxfrm.c:395: