LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined
@ 2007-01-18 21:22 Andrew Walrond
  2007-01-18 21:51 ` chas williams - CONTRACTOR
  2007-01-19 14:37 ` Adrian Bunk
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Walrond @ 2007-01-18 21:22 UTC (permalink / raw)
  To: LKML

Don't know exactly when this change went in, but it's not in 2.6.18.3 
and is in 2.6.19.2+

  $ diff linux/include/linux/if_arp.h linux-2.6/include/linux/if_arp.h
133,134c133,134
<       unsigned short  ar_hrd;         /* format of hardware address   */
<       unsigned short  ar_pro;         /* format of protocol address   */
---
 >       __be16          ar_hrd;         /* format of hardware address   */
 >       __be16          ar_pro;         /* format of protocol address   */
137c137
<       unsigned short  ar_op;          /* ARP opcode (command)         */
---
 >       __be16          ar_op;          /* ARP opcode (command)         */


This causes the linux-atm userspace compile to fail like this:

In file included from arp.c:19:
/usr/include/linux/if_arp.h:133: error: expected 
specifier-qualifier-list before '__be16'

I guess if_arp.h needs to include include/linux/byteorder/big_endian.h?

Andrew Walrond

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-19 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-18 21:22 Kernel headers - linux-atm userspace build broken by recent change; __be16 undefined Andrew Walrond
2007-01-18 21:51 ` chas williams - CONTRACTOR
2007-01-19 14:37 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).