Bug: https://bugs.gentoo.org/894522 Upstream PR: https://github.com/linux-on-mac/mbpfan/pull/261 --- a/src/util.c +++ b/src/util.c @@ -1,6 +1,7 @@ #include #include #define __USE_MISC +#define _BSD_SOURCE #include #include "global.h"