Re: iproute2 not compiling anymore

From: Willy Tarreau
Date: Fri Oct 10 2003 - 01:52:08 EST


Hi David,

On Thu, Oct 09, 2003 at 10:45:35PM -0700, David S. Miller wrote:
> On Fri, 10 Oct 2003 02:13:52 +0200
> Willy TARREAU <willy@xxxxxxxxx> wrote:
>
> > I'm too tired to investigate more, so I should do it tomorrow. Here is the
> > compilation output, just in case it helps David. Please ask for .config if
> > needed, but I don't think so.
>
> I know what's wrong, linux/in.h needs to include linux/socket.h
> Duh, I'll fix this up.

You're right, it now compiles. Here's the patch :

diff -urN linux-2.4.23-pre7/include/linux/in.h linux-2.4.23-pre7-fix/include/linux/in.h
--- linux-2.4.23-pre7/include/linux/in.h Fri Oct 10 08:47:15 2003
+++ linux-2.4.23-pre7-fix/include/linux/in.h Fri Oct 10 08:49:20 2003
@@ -19,6 +19,7 @@
#define _LINUX_IN_H

#include <linux/types.h>
+#include <linux/socket.h>

/* Standard well-defined IP protocols. */
enum {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/