From: Ben Greear <greearb@candelatech.com>
To: Stephen Hemminger <shemminger@linux-foundation.org>
Cc: NetDev <netdev@vger.kernel.org>
Subject: Re: Patch to latest iproute to get it to compile on FC5
Date: Wed, 13 Feb 2008 22:06:36 -0800 [thread overview]
Message-ID: <47B3DA6C.6090400@candelatech.com> (raw)
In-Reply-To: <20080213123402.43cdbd45@extreme>
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
Here's another try at the patch to make the __constant_htonl methods
be included, but without changing any of the .h files. I tested this on
an FC2 system, and it compiles fine.
Interesting to me, it seems you are not supposed to #include
<asm/byteorder.h> directly,
but when I tried the suggested <endian.h>, it didn't actually fix the
problem.
Signed-off-by: Ben Greear <greearb@candelatech.com>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
[-- Attachment #2: iproute.patch --]
[-- Type: text/x-patch, Size: 285 bytes --]
diff --git a/ip/iptunnel.c b/ip/iptunnel.c
index 3b466bf..2b2b78e 100644
--- a/ip/iptunnel.c
+++ b/ip/iptunnel.c
@@ -34,6 +34,7 @@
#include "ip_common.h"
#include "tunnel.h"
+#include <asm/byteorder.h>
static void usage(void) __attribute__((noreturn));
static void usage(void)
prev parent reply other threads:[~2008-02-14 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 19:32 Patch to latest iproute to get it to compile on FC5 Ben Greear
2008-02-13 19:56 ` Stephen Hemminger
2008-02-13 20:34 ` Stephen Hemminger
2008-02-13 20:52 ` Ben Greear
2008-02-14 6:06 ` Ben Greear [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B3DA6C.6090400@candelatech.com \
--to=greearb@candelatech.com \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.