Revision: 41101
http://brlcad.svn.sourceforge.net/brlcad/?rev=41101&view=rev
Author: brlcad
Date: 2010-10-19 06:15:51 +0000 (Tue, 19 Oct 2010)
Log Message:
-----------
check for pthread.h before including
Modified Paths:
--------------
brlcad/trunk/src/adrt/master/master.c
Modified: brlcad/trunk/src/adrt/master/master.c
===================================================================
--- brlcad/trunk/src/adrt/master/master.c 2010-10-19 06:14:07 UTC (rev
41100)
+++ brlcad/trunk/src/adrt/master/master.c 2010-10-19 06:15:51 UTC (rev
41101)
@@ -22,12 +22,14 @@
*/
#include "master.h"
-#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <string.h>
+#ifdef HAVE_PTHREAD_H
+# include <pthread.h>
+#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits