meson: fix sys/mkdev.h detection on Solaris
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 14 Sep 2019 21:18:32 +0000 (22:18 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 8 Oct 2019 15:26:50 +0000 (16:26 +0100)
commit6f26eae077af2b4e1f51e9a9524617937afc8e36
treeab6122d2d527f438702ee79552ab7c7f3f18695d
parent02b3aa3cf302eff3e8247a1767331657b8cefb29
meson: fix sys/mkdev.h detection on Solaris

On Solaris, sys/sysmacros.h has long-deprecated copies of major() & minor()
but not makedev().
sys/mkdev.h has all three and is the preferred choice.

Let's make sure we check for all 3 major(), minor() and makedev().

Reported-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Tested-by: Alan Coopersmith <alan.coopersmith@oracle.com>
meson.build