]> granicus.if.org Git - sudo/commitdiff
Fix compilation error on macOS
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 15 May 2017 14:57:45 +0000 (08:57 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 15 May 2017 14:57:45 +0000 (08:57 -0600)
plugins/sudoers/regress/env_match/check_env_pattern.c

index 76917a6a2fa489cb5d0656c689f5e32732780500..70f2d3414da2dd601df0762440f9d8b0923cfb41 100644 (file)
@@ -24,8 +24,9 @@
 #ifdef HAVE_STRINGS_H
 # include <strings.h>
 #endif /* HAVE_STRINGS_H */
+#include <time.h>              /* for sudo_compat.h */
+#include <grp.h>               /* for sudo_compat.h */
 
-#include "sudo_compat.h"
 #include "sudoers.h"
 
 __dso_public int main(int argc, char *argv[]);