The default include order in the Makefile preferred global directories over local ones. Thus, ftdi.h from an installed libftdi was considered instead of the internal ftdi.h, leading to compilation errors in this situation. Reported by: holm@freibergnet.de Approved by: (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D47975