On Wed, 20 Oct 2004, Stephen Hemminger wrote:
quoted hunk ↗ jump to hunk
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
#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.