diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-11-06 21:37:21 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-11-06 21:37:21 +0000 |
| commit | 8ecdcb3ff3a82e544bdd91e4f49a463916a90c28 (patch) | |
| tree | 41ef72a54a4f7e98e5c9ecb9a76dda839740c460 /sys/dev/usb/usb.h | |
| parent | a1571cd12fcfe3d85fec6d33b5ce9d71c1d6bcac (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb.h')
| -rw-r--r-- | sys/dev/usb/usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index d9f208588025..e5278596f3ce 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -98,7 +98,11 @@ typedef u_int8_t uDWord[4]; #define USETDW(w,v) (*(u_int32_t *)(w) = (v)) #endif +#if defined(__FreeBSD__) && (__FreeBSD_version <= 500014) +#define UPACKED __attribute__ ((packed)) +#else #define UPACKED __packed +#endif typedef struct { uByte bmRequestType; |
