--- embedaddon/sudo/compat/strsignal.c 2012/10/09 09:29:52 1.1.1.2 +++ embedaddon/sudo/compat/strsignal.c 2014/06/15 16:12:54 1.1.1.4 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2011 Todd C. Miller + * Copyright (c) 2009-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,16 +16,18 @@ #include +#ifndef HAVE_STRSIGNAL + #include #include #include -#include "missing.h" - #define DEFAULT_TEXT_DOMAIN "sudo" -#include "gettext.h" +#include "gettext.h" /* must be included before missing.h */ +#include "missing.h" + #if defined(HAVE_DECL_SYS_SIGLIST) && HAVE_DECL_SYS_SIGLIST == 1 # define sudo_sys_siglist sys_siglist #elif defined(HAVE_DECL__SYS_SIGLIST) && HAVE_DECL__SYS_SIGLIST == 1 @@ -47,3 +49,4 @@ strsignal(int signo) /* XXX - should be "Unknown signal: %d" */ return _("Unknown signal"); } +#endif /* HAVE_STRSIGNAL */