diff options
| author | christos <christos@NetBSD.org> | 2011-10-06 16:03:48 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2011-10-06 16:03:48 +0000 |
| commit | 7c1904c25b9eb40004e6fbeb467a8e547c33ff75 (patch) | |
| tree | 73da8aef7ffd420d0fd0be5cf6976f00994fc19e /lib/libpthread | |
| parent | 995fec7786cf1c1d660474a459660da2d9cf1c72 (diff) | |
Include limits.h to get PTHREAD_KEYS_MAX, and move its definition there.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_int.h b/lib/libpthread/pthread_int.h index c93d3cca282..7dc4b2f449a 100644 --- a/lib/libpthread/pthread_int.h +++ b/lib/libpthread/pthread_int.h @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_int.h,v 1.80 2011/09/16 16:05:59 joerg Exp $ */ +/* $NetBSD: pthread_int.h,v 1.81 2011/10/06 16:03:48 christos Exp $ */ /*- * Copyright (c) 2001, 2002, 2003, 2006, 2007, 2008 The NetBSD Foundation, Inc. @@ -54,6 +54,7 @@ #include <lwp.h> #include <signal.h> +#include <limits.h> #ifdef __GNUC__ #define PTHREAD_HIDE __attribute__ ((visibility("hidden"))) @@ -61,7 +62,6 @@ #define PTHREAD_HIDE /* nothing */ #endif -#define PTHREAD_KEYS_MAX 256 #define PTHREAD__UNPARK_MAX 32 /* |
