#ifdef _LIBC
# include <bits/libc-lock.h>
#else /* !_LIBC */
-# include "lock.h"
-# include "tls.h"
+# include "glthread/lock.h"
+# include "glthread/tls.h"
# define __libc_once_define(CLASS, NAME) gl_once_define (CLASS, NAME)
# define __libc_once(NAME, INIT) gl_once ((NAME), (INIT))
# define __libc_key_t gl_tls_key_t
# ifndef NSIG
# define NSIG 32
# endif /* NSIG */
+# if !HAVE_DECL__SYS_SIGLIST
static const char *_sys_siglist[NSIG];
+# endif
# endif /* !HAVE_DECL_SYS_SIGLIST */
#endif /* _LIBC */
# define init_sig(sig, abbrev, desc) \
if (sig >= 0 && sig < NSIG) \
_sys_siglist[sig] = desc;
-} while (0);
# include "siglist.h"