Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/wpa/dist/src/drivers Fix build on big-endian ho...



details:   https://anonhg.NetBSD.org/src/rev/22d604af3696
branches:  trunk
changeset: 756843:22d604af3696
user:      dogcow <dogcow%NetBSD.org@localhost>
date:      Thu Aug 05 14:03:17 2010 +0000

description:
Fix build on big-endian hosts.

diffstat:

 external/bsd/wpa/dist/src/drivers/driver_bsd.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r f1dd4cd66ce4 -r 22d604af3696 external/bsd/wpa/dist/src/drivers/driver_bsd.c
--- a/external/bsd/wpa/dist/src/drivers/driver_bsd.c    Thu Aug 05 04:58:26 2010 +0000
+++ b/external/bsd/wpa/dist/src/drivers/driver_bsd.c    Thu Aug 05 14:03:17 2010 +0000
@@ -626,6 +626,9 @@
        }
 
 #ifdef WORDS_BIGENDIAN
+#ifndef WPA_KEY_RSC_LEN
+#define WPA_KEY_RSC_LEN 8
+#endif
        {
                /*
                 * wk.ik_keytsc is in host byte order (big endian), need to



Home | Main Index | Thread Index | Old Index