only include <sys/pset.h> if _NETBSD_SOURCE

This commit is contained in:
christos 2008-01-19 16:03:48 +00:00
parent 8a162df73e
commit f2df27b721
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pthread.h,v 1.25 2008/01/15 03:37:14 rmind Exp $ */
/* $NetBSD: pthread.h,v 1.26 2008/01/19 16:03:48 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -43,7 +43,10 @@
#include <time.h> /* For timespec */
#include <sched.h>
#include <sys/featureset.h>
#ifdef _NETBSD_SOURCE
#include <sys/pset.h>
#endif
#include <pthread_types.h>