On Wed, 20 Oct 2004, Stephen Hemminger wrote:
Try this, ss was dragging in byteorder.h and it didn't need to.
diff -Nru a/misc/ss.c b/misc/ss.c --- a/misc/ss.c 2004-10-20 09:13:56 -07:00 +++ b/misc/ss.c 2004-10-20 09:13:56 -07:00 @@ -33,7 +33,6 @@ #include "libnetlink.h" #include "SNAPSHOT.h"
-#include <asm/byteorder.h> #include <linux/tcp.h> #include <linux/tcp_diag.h>
same problem.
"#include <linux/tcp.h>" is dragging in "#include <asm/byteorder.h>".
Same thing goes for <linux/ip.h>.
All these kernel headers need cleanup, and I don't know enough to fix it.
Jeff.
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html