Fix FreeBSD build of VK_EXT_physical_device_drm tests
authorJames Jones <jajones@nvidia.com>
Wed, 7 Jul 2021 20:59:12 +0000 (13:59 -0700)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 14 Jul 2021 07:01:37 +0000 (07:01 +0000)
commit6aea4b20a9383586a9bf9d845b2bb6580a2e8aed
treefc34d66e78dee900fbf1dccebc56abc5e67bbc66
parent62868159cbcdb264a5e2b09e327d586a042becf4
Fix FreeBSD build of VK_EXT_physical_device_drm tests

Linux defines the major() and minor() macros in
the sys/sysmacros.h header, but FreeBSD does not
have this header and instead defines them in
sys/types.h.

Components: Vulkan
Affects: dEQP-VK.api.device_drm_properties.*

Change-Id: I0bed149d24241e152437f530f5eb137738c46122
external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp