aboutsummaryrefslogtreecommitdiffstats
path: root/usb_device.c
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.com>2023-02-27 15:37:25 +0100
committerThomas Heijligen <src@posteo.de>2023-03-10 15:53:17 +0000
commitc433910718cf5d5664aab87773ae473061e6b87b (patch)
treeb5c57ed142090b8f2cc5783b4c50498a90b83e3e /usb_device.c
parentb8dae5059920c0fc23531c80b4f7282121cca9e6 (diff)
downloadflashrom-c433910718cf5d5664aab87773ae473061e6b87b.tar.gz
flashrom-c433910718cf5d5664aab87773ae473061e6b87b.tar.bz2
flashrom-c433910718cf5d5664aab87773ae473061e6b87b.zip
include/pci.h: Use __has_include() macro to test pci.h path
Some NetBSDs have the pci.h under pciutils/ instead of pci/. But we can't say for sure which variants uses which include path. Just test them with the __has_include() compiler macro. https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html Change-Id: Ib20de6bffede910b89937f554b4d56f4799f0762 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73292 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'usb_device.c')
0 files changed, 0 insertions, 0 deletions