From: Todd C. Miller Date: Fri, 28 Jul 2017 02:51:21 +0000 (-0600) Subject: Include pathnames.h for /dev/fd on FreeBSD and Mac OS X. X-Git-Tag: SUDO_1_8_21^2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a6b8a78f182ea0088dc54996b5e7f28ca940f34;p=sudo Include pathnames.h for /dev/fd on FreeBSD and Mac OS X. --- diff --git a/lib/util/closefrom.c b/lib/util/closefrom.c index d9d19456a..84c259b95 100644 --- a/lib/util/closefrom.c +++ b/lib/util/closefrom.c @@ -32,6 +32,7 @@ #endif #include "sudo_compat.h" +#include "pathnames.h" #ifndef _POSIX_OPEN_MAX # define _POSIX_OPEN_MAX 20