On Sep 7, 2015, at 2:40 AM, Austin English austinenglish@gmail.com wrote:
getdirentries() is only used if USE_GETDENTS is not defined. USE_GETDENTS is defined at the top of the file in the #ifdef linux block that your patch is right after.
So, why not just #define USE_GETDENTS for NetBSD, too? No need for a wrapper.
-Ken