diff options
Diffstat (limited to 'lib/strsignal.c')
-rw-r--r-- | lib/strsignal.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/strsignal.c b/lib/strsignal.c index 5a415ca..12cd881 100644 --- a/lib/strsignal.c +++ b/lib/strsignal.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1994-2002, 2005, 2008-2011 Free Software Foundation, +/* Copyright (C) 1991, 1994-2002, 2005, 2008-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -19,10 +19,12 @@ # include <config.h> #endif +/* Specification. */ +#include <string.h> + #include <signal.h> #include <stdio.h> #include <stdlib.h> -#include <string.h> #ifdef _LIBC # include <libintl.h> @@ -54,7 +56,9 @@ extern const char *const _sys_siglist_internal[] attribute_hidden; #else /* !_LIBC */ /* NetBSD declares sys_siglist in unistd.h. */ -# include <unistd.h> +# if HAVE_UNISTD_H +# include <unistd.h> +# endif # define INTUSE(x) (x) |