diff options
author | 2017-02-04 19:20:59 +0000 | |
---|---|---|
committer | 2017-02-04 19:20:59 +0000 | |
commit | 9e4d42057500f7baa99d6a9f59a4cb5211d119df (patch) | |
tree | 87f7e8cc67a4e306ed68b387b2ee77404931a47b | |
parent | The macro versions of htonl et al don't require them, but POSIX says (diff) | |
download | wireguard-openbsd-9e4d42057500f7baa99d6a9f59a4cb5211d119df.tar.xz wireguard-openbsd-9e4d42057500f7baa99d6a9f59a4cb5211d119df.zip |
Prefer <sys/endian.h> to <machine/endian.h>
ok stsp@
-rw-r--r-- | sys/dev/pci/if_iwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index f73c71f1e12..21ace7310a4 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.161 2017/02/04 15:02:46 pirofti Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.162 2017/02/04 19:20:59 guenther Exp $ */ /* * Copyright (c) 2014, 2016 genua gmbh <info@genua.de> @@ -118,10 +118,10 @@ #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> +#include <sys/endian.h> #include <sys/task.h> #include <machine/bus.h> -#include <machine/endian.h> #include <machine/intr.h> #include <dev/pci/pcireg.h> |