diff options
author | 2013-10-21 10:05:18 +0000 | |
---|---|---|
committer | 2013-10-21 10:05:18 +0000 | |
commit | 9e274ad3042a9a0d1c650dde81886a22928d5ce7 (patch) | |
tree | a36b58a1275491a31b5cbf1e13c70a49f700084f /sys | |
parent | only #ifdef _KERNEL, not #ifdef KERNEL (diff) | |
download | wireguard-openbsd-9e274ad3042a9a0d1c650dde81886a22928d5ce7.tar.xz wireguard-openbsd-9e274ad3042a9a0d1c650dde81886a22928d5ce7.zip |
remove dangerous #ifdef BYTE_ORDER
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet6/pim6.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/pim6.h b/sys/netinet6/pim6.h index d8cd61a3063..c5581977ce5 100644 --- a/sys/netinet6/pim6.h +++ b/sys/netinet6/pim6.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pim6.h,v 1.3 2005/12/10 01:30:14 deraadt Exp $ */ +/* $OpenBSD: pim6.h,v 1.4 2013/10/21 10:05:18 deraadt Exp $ */ /* $KAME: pim6.h,v 1.3 2000/03/25 07:23:58 sumikawa Exp $ */ /* @@ -42,7 +42,7 @@ */ #define PIM_VERSION 2 struct pim { -#if defined(BYTE_ORDER) && (BYTE_ORDER == LITTLE_ENDIAN) +#if _BYTE_ORDER == LITTLE_ENDIAN u_int pim_type:4, /* the PIM message type, currently they are: * Hello, Register, Register-Stop, Join/Prune, * Bootstrap, Assert, Graft (PIM-DM only), |