From 0124b1ef75e2e623786f6071512febd8c4e2b4b0 Mon Sep 17 00:00:00 2001 From: Christopher Sean Morrison Date: Wed, 23 Apr 2008 08:24:58 +0000 Subject: [PATCH] make sure SIGUSR1 and SIGINFO are available first svn:revision:30791 svn:branch:trunk svn:account:brlcad --- src/adrt/slave/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/adrt/slave/main.c b/src/adrt/slave/main.c index 857792f1a67..5333e59f729 100644 --- a/src/adrt/slave/main.c +++ b/src/adrt/slave/main.c @@ -77,8 +77,12 @@ int main(int argc, char **argv) { /* Default Port */ signal(SIGINT, finish); - signal(SIGINFO, info); +#ifdef SIGUSR1 signal(SIGUSR1, info); +#endif +#ifdef SIGINFO + signal(SIGINFO, info); +#endif /* Initialize strings */ host[0] = 0;