From owner-freebsd-current Thu Feb 17 1:53:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.hcisp.net (StarGate.hcisp.net [208.60.89.1]) by hub.freebsd.org (Postfix) with SMTP id 64D3237B678 for ; Thu, 17 Feb 2000 01:53:24 -0800 (PST) (envelope-from tim@mysql.com) Received: (qmail 7728 invoked from network); 17 Feb 2000 09:58:37 -0000 Received: from modem2.hcsip.net (HELO threads.polyesthetic.msg) (208.60.89.68) by stargate.hcisp.net with SMTP; 17 Feb 2000 09:58:37 -0000 Received: (qmail 4830 invoked by uid 1001); 17 Feb 2000 09:52:27 -0000 From: "Thimble Smith" Date: Thu, 17 Feb 2000 04:52:27 -0500 To: current@freebsd.org Subject: pthread.h and unistd.h Message-ID: <20000217045227.S2611@threads.polyesthetic.msg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I recently updated from -stable to -current. I notice now that pthread.h relies on #defines that are in unistd.h; so in order to use pthread_attr_setscope you have to include unistd.h before pthread.h. Is this standard behaviour? I'm working with MySQL, and unistd.h is included after pthread.h; should I have that code changed, or should FreeBSD somehow compensate for this? Thanks, Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message