Ensured that HAVE_OPENAT is defined if openat() is available.
Ensured that HAVE_OPENAT is defined if openat() is available.

sehe/libposix,dryproject/libposix,dryproject/libposix,dryproject/libposix,sehe/libposix,sehe/libposix