util: Make xmlconfig.c build on Solaris without d_type in dirent (v2)
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 5 Oct 2018 23:34:35 +0000 (16:34 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 6 Oct 2018 00:30:45 +0000 (17:30 -0700)
commit066850edadfe2aa0d339a0c6211ef0a61755a415
tree03a64b75827cd8dccd7a0c5d5f0563bb50385b15
parent084cf3b9668c94350aef1d22af71604ddf95c845
util: Make xmlconfig.c build on Solaris without d_type in dirent (v2)

v2: check for lstat() failing

Fixes: 04bdbbcab3c "xmlconfig: read more config files from drirc.d/"
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Roland Mainz <roland.mainz@nrubsig.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/util/xmlconfig.c