http://sourceforge.net/tracker/index.php?func=detail&aid=1791328&group_id=172030&atid=860196 pull in more headers for prototypes --- watchdog-5.6/src/fstab.c +++ watchdog-5.6/src/fstab.c @@ -4,6 +4,7 @@ #include "config.h" #endif +#define _GNU_SOURCE /* for strsignal() */ #include #include #include --- watchdog-5.6/src/wd_keepalive.c +++ watchdog-5.6/src/wd_keepalive.c @@ -24,7 +25,7 @@ #include #include #include -#define __USE_GNU +#include #include #include --- watchdog-5.6/src/watchdog.c +++ watchdog-5.6/src/watchdog.c @@ -26,12 +26,10 @@ #include #include #include -#define __USE_GNU #include -#if !defined(__GLIBC__) /* __GLIBC__ */ -extern char *basename(const char *); -#endif /* __GLIBC__ */ +#include +#include #include