]> granicus.if.org Git - sudo/commitdiff
Remove unused time.h and add limits.h for PATH_MAX
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Jul 2010 17:25:05 +0000 (13:25 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Jul 2010 17:25:05 +0000 (13:25 -0400)
plugins/sample_group/plugin_test.c

index 4bafe81d5bb55f587fe77a4eabde281cbc2709c5..5ffb697c0f2c335df035ac9a8622b618aa82ac0d 100644 (file)
@@ -16,7 +16,6 @@
 
 #include <sys/types.h>
 #include <sys/param.h>
-#include <sys/time.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
 #include <string.h>
 #include <unistd.h>
-#include <time.h>
 #include <ctype.h>
 #include <dlfcn.h>
 #include <errno.h>
+#include <limits.h>
 #include <pwd.h>
 
 #include <sudo_plugin.h>