--- embedaddon/sudo/compat/pw_dup.c 2012/05/29 12:26:49 1.1.1.1 +++ embedaddon/sudo/compat/pw_dup.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,5 +1,6 @@ /* - * Copyright (c) 2000, 2002, 2012 Todd C. Miller + * Copyright (c) 2000, 2002, 2012-2013 + * Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -20,6 +21,8 @@ #include +#ifndef HAVE_PW_DUP + #include #include @@ -102,3 +105,4 @@ pw_dup(const struct passwd *pw) return newpw; } +#endif /* HAVE_PW_DUP */