summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2005-03-21 09:00:49 +0000
committerkleink <kleink@NetBSD.org>2005-03-21 09:00:49 +0000
commit34579587e1ed5669ac0a582a2bfb210bb7301e9d (patch)
tree570b147de6b18abda4e3e47cad8e1400b98ec799 /lib/libpthread
parent38083a97f4b71e480199f679c1c2d8d4e375576e (diff)
Include <sys/select.h> explicitly rather than relying on other headers
to do it.
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/pthread_cancelstub.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpthread/pthread_cancelstub.c b/lib/libpthread/pthread_cancelstub.c
index 55370189ed8..b4e7fbc81f4 100644
--- a/lib/libpthread/pthread_cancelstub.c
+++ b/lib/libpthread/pthread_cancelstub.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pthread_cancelstub.c,v 1.11 2005/03/18 11:23:44 kleink Exp $ */
+/* $NetBSD: pthread_cancelstub.c,v 1.12 2005/03/21 09:00:49 kleink Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pthread_cancelstub.c,v 1.11 2005/03/18 11:23:44 kleink Exp $");
+__RCSID("$NetBSD: pthread_cancelstub.c,v 1.12 2005/03/21 09:00:49 kleink Exp $");
/*
* This is necessary because the names are always weak (they are not
@@ -65,6 +65,7 @@ __RCSID("$NetBSD: pthread_cancelstub.c,v 1.11 2005/03/18 11:23:44 kleink Exp $")
#include <signal.h>
#include <sys/mman.h>
+#include <sys/select.h>
#include <sys/socket.h>
#include "pthread.h"