summaryrefslogtreecommitdiff
path: root/tools/cpio/src/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpio/src/signal.c')
-rw-r--r--tools/cpio/src/signal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/cpio/src/signal.c b/tools/cpio/src/signal.c
index e511aeba6..1f9d51cb7 100644
--- a/tools/cpio/src/signal.c
+++ b/tools/cpio/src/signal.c
@@ -22,7 +22,8 @@
/* Sccsid @(#)signal.c 1.6 (gritter) 1/22/06 */
#if defined (__FreeBSD__) || defined (__dietlibc__) || defined (__NetBSD__) || \
- defined (__OpenBSD__) || defined (__DragonFly__) || defined (__APPLE__)
+ defined (__OpenBSD__) || defined (__DragonFly__) || defined (__APPLE__) || \
+ defined (__UCLIBC__)
#include <signal.h>
#include "sigset.h"
@@ -42,4 +43,4 @@ void (*signal(int sig, void (*func)(int)))(int)
return oact.sa_handler;
}
#endif /* __FreeBSD__ || __dietlibc__ || __NetBSD__ || __OpenBSD__ ||
- __DragonFly__ || __APPLE__ */
+ __DragonFly__ || __APPLE__ || __UCLIBC__ */