diff options
author | hselasky <hselasky@FreeBSD.org> | 2010-10-16 11:20:53 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2010-10-16 11:20:53 +0000 |
commit | 5b550686a5110cf18c816f96d37d170d8a28e4dc (patch) | |
tree | 1ea0271ac1ee85fd4578cf84cc88d1e6186f7224 /lib/libusbhid/Makefile | |
parent | 21647a48345019a086209231c331adba0d1be8be (diff) | |
download | FreeBSD-src-5b550686a5110cf18c816f96d37d170d8a28e4dc.zip FreeBSD-src-5b550686a5110cf18c816f96d37d170d8a28e4dc.tar.gz |
- Add support for libusbhid in 32-bit compatibility mode.
- Add missing check for ugd_actlen being too small.
- Add missing inclusion guard to usbvar.h header file.
- This also fixes buildworld breakage since r213852.
Diffstat (limited to 'lib/libusbhid/Makefile')
-rw-r--r-- | lib/libusbhid/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libusbhid/Makefile b/lib/libusbhid/Makefile index 2a58a4b..7dba7ff 100644 --- a/lib/libusbhid/Makefile +++ b/lib/libusbhid/Makefile @@ -19,4 +19,8 @@ SRCS= descr.c descr_compat.c parse.c usage.c data.c INCS= usbhid.h +.if defined(COMPAT_32BIT) +CFLAGS+= -DCOMPAT_32BIT +.endif + .include <bsd.lib.mk> |