summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorcl <cl@NetBSD.org>2003-09-22 14:45:48 +0000
committercl <cl@NetBSD.org>2003-09-22 14:45:48 +0000
commitbfa716044e768851d4df3c91bb62533faede285d (patch)
tree344e66a7838b63a16a4abe5b54a6cb7ab8268d56 /lib/libpthread
parentae9566397a9bb4e173d0754a9173eeaacb4a359a (diff)
SA_SIGINFO support for m68k (libpthread)
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/arch/m68k/pthread_md.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libpthread/arch/m68k/pthread_md.c b/lib/libpthread/arch/m68k/pthread_md.c
index 0d664fc6e81..1bd2e1e7522 100644
--- a/lib/libpthread/arch/m68k/pthread_md.c
+++ b/lib/libpthread/arch/m68k/pthread_md.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_md.c,v 1.4 2003/07/26 18:33:06 mrg Exp $ */
+/* $NetBSD: pthread_md.c,v 1.5 2003/09/22 14:45:48 cl Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -37,16 +37,18 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_md.c,v 1.4 2003/07/26 18:33:06 mrg Exp $");
+__RCSID("$NetBSD: pthread_md.c,v 1.5 2003/09/22 14:45:48 cl Exp $");
#define __PTHREAD_SIGNAL_PRIVATE
+#include <signal.h>
#include <string.h>
#include <assert.h>
#include "pthread.h"
#include "pthread_int.h"
+#ifndef __HAVE_SIGINFO
/*
* We only need this to know how much data to copy.
*/
@@ -93,3 +95,4 @@ pthread__sigcontext_to_ucontext(const struct pthread__sigcontext *psc,
uc->uc_flags &= ~_UC_SIGMASK;
}
+#endif