Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb fix arm64 build (new le32toh() call needs sys/en...



details:   https://anonhg.NetBSD.org/src/rev/83f120a8f999
branches:  trunk
changeset: 458746:83f120a8f999
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Aug 08 18:03:40 2019 +0000

description:
fix arm64 build (new le32toh() call needs sys/endian.h which is
probably include by some other header on amd64?)

diffstat:

 sys/dev/usb/if_urndis.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6d9b5df4d392 -r 83f120a8f999 sys/dev/usb/if_urndis.c
--- a/sys/dev/usb/if_urndis.c   Thu Aug 08 16:06:14 2019 +0000
+++ b/sys/dev/usb/if_urndis.c   Thu Aug 08 18:03:40 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_urndis.c,v 1.24 2019/08/08 06:16:40 maya Exp $ */
+/*     $NetBSD: if_urndis.c,v 1.25 2019/08/08 18:03:40 mrg Exp $ */
 /*     $OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
 
 /*
@@ -21,7 +21,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.24 2019/08/08 06:16:40 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.25 2019/08/08 18:03:40 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -37,6 +37,7 @@
 #include <sys/proc.h>
 #include <sys/socket.h>
 #include <sys/device.h>
+#include <sys/endian.h>
 
 #include <net/if.h>
 #include <net/if_dl.h>



Home | Main Index | Thread Index | Old Index