[brlcad-commits] SF.net SVN: brlcad:[41101] brlcad/trunk/src/adrt/master/master.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2010-10-19 06:15:59
|
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. |