--- embedaddon/sudo/compat/mktemp.c 2012/02/21 16:23:02 1.1.1.1 +++ embedaddon/sudo/compat/mktemp.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2003, 2004, 2008-2011 + * Copyright (c) 2001, 2003, 2004, 2008-2011, 2013 * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any @@ -17,6 +17,8 @@ #include +#if !defined(HAVE_MKSTEMPS) || !defined(HAVE_MKDTEMP) + #include #include #include @@ -157,3 +159,4 @@ mkdtemp(char *path) return path; } #endif /* HAVE_MKDTEMP */ +#endif /* !HAVE_MKSTEMPS || !HAVE_MKDTEMP */