--- embedaddon/sudo/compat/sig2str.c 2012/10/09 09:29:52 1.1.1.1 +++ embedaddon/sudo/compat/sig2str.c 2013/07/22 10:46:11 1.1.1.2 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012 Todd C. Miller + * Copyright (c) 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 @@ -16,6 +16,8 @@ #include +#ifndef HAVE_SIG2STR + #include #include @@ -74,3 +76,4 @@ sig2str(int signo, char *signame) errno = EINVAL; return -1; } +#endif /* HAVE_SIG2STR */