Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libpthread Include <stdint.h> to ensure we have uin...



details:   https://anonhg.NetBSD.org/src/rev/4cfb78a67d46
branches:  nathanw_sa
changeset: 506617:4cfb78a67d46
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Dec 20 15:33:27 2002 +0000

description:
Include <stdint.h> to ensure we have uintptr_t.

diffstat:

 lib/libpthread/pthread_sig.c   |  3 ++-
 lib/libpthread/pthread_stack.c |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 6be2acb6759a -r 4cfb78a67d46 lib/libpthread/pthread_sig.c
--- a/lib/libpthread/pthread_sig.c      Fri Dec 20 15:24:57 2002 +0000
+++ b/lib/libpthread/pthread_sig.c      Fri Dec 20 15:33:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_sig.c,v 1.1.2.21 2002/12/19 02:42:59 thorpej Exp $     */
+/*     $NetBSD: pthread_sig.c,v 1.1.2.22 2002/12/20 15:33:27 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -42,6 +42,7 @@
 #include <assert.h>
 #include <errno.h>
 #include <lwp.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <ucontext.h>
diff -r 6be2acb6759a -r 4cfb78a67d46 lib/libpthread/pthread_stack.c
--- a/lib/libpthread/pthread_stack.c    Fri Dec 20 15:24:57 2002 +0000
+++ b/lib/libpthread/pthread_stack.c    Fri Dec 20 15:33:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pthread_stack.c,v 1.1.2.8 2002/12/20 01:07:58 nathanw Exp $    */
+/*     $NetBSD: pthread_stack.c,v 1.1.2.9 2002/12/20 15:33:28 thorpej Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -40,6 +40,7 @@
 #include <err.h>
 #include <errno.h>
 #include <signal.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <ucontext.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index