Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread/arch/i386 Include <sys/ucontext.h> to ge...



details:   https://anonhg.NetBSD.org/src/rev/3460fbaf6e1e
branches:  nathanw_sa
changeset: 506764:3460fbaf6e1e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jan 17 02:42:54 2003 +0000

description:
Include <sys/ucontext.h> to get ucontext_t for prototypes.

diffstat:

 lib/libpthread/arch/i386/pthread_md.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ac1a67c6d393 -r 3460fbaf6e1e lib/libpthread/arch/i386/pthread_md.h
--- a/lib/libpthread/arch/i386/pthread_md.h     Thu Jan 16 20:50:42 2003 +0000
+++ b/lib/libpthread/arch/i386/pthread_md.h     Fri Jan 17 02:42:54 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_md.h,v 1.1.2.10 2003/01/16 03:35:47 thorpej Exp $      */
+/*     $NetBSD: pthread_md.h,v 1.1.2.11 2003/01/17 02:42:54 thorpej Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -39,6 +39,8 @@
 #ifndef _LIB_PTHREAD_I386_MD_H
 #define _LIB_PTHREAD_I386_MD_H
 
+#include <sys/ucontext.h>
+
 extern int (*_md_getcontext_u)(ucontext_t *);
 extern int (*_md_setcontext_u)(const ucontext_t *);
 extern int (*_md_swapcontext_u)(ucontext_t *, const ucontext_t *);



Home | Main Index | Thread Index | Old Index