--- embedaddon/sudo/common/secure_path.c 2012/10/09 09:29:52 1.1.1.2 +++ embedaddon/sudo/common/secure_path.c 2014/06/15 16:12:54 1.1.1.4 @@ -18,7 +18,6 @@ #include #include -#include #include #ifdef HAVE_STRING_H # include @@ -39,7 +38,7 @@ * Verify that path is the right type and not writable by other users. */ int -sudo_secure_path(const char *path, int type, uid_t uid, gid_t gid, struct stat *sbp) +sudo_secure_path(const char *path, unsigned int type, uid_t uid, gid_t gid, struct stat *sbp) { struct stat sb; int rval = SUDO_PATH_MISSING;