Revision: 54470
http://brlcad.svn.sourceforge.net/brlcad/?rev=54470&view=rev
Author: brlcad
Date: 2013-02-22 17:12:28 +0000 (Fri, 22 Feb 2013)
Log Message:
-----------
header cleanup, make sys/time.h inclusion not platform-centric but coupled to
header test. our headers come after.
Modified Paths:
--------------
brlcad/trunk/src/libbu/parallel.c
Modified: brlcad/trunk/src/libbu/parallel.c
===================================================================
--- brlcad/trunk/src/libbu/parallel.c 2013-02-22 13:46:27 UTC (rev 54469)
+++ brlcad/trunk/src/libbu/parallel.c 2013-02-22 17:12:28 UTC (rev 54470)
@@ -20,21 +20,21 @@
#include "common.h"
-#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include <signal.h>
-#include "bu.h"
+#ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+#endif
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/resource.h>
#endif
#ifdef linux
-# include <sys/time.h>
# include <sys/types.h>
# ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
@@ -46,7 +46,6 @@
#if defined(__FreeBSD__) || defined(__OpenBSD__)
# include <sys/types.h>
# include <sys/param.h>
-# include <sys/time.h>
# include <sys/sysctl.h>
# ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
@@ -56,7 +55,6 @@
#ifdef __APPLE__
# include <sys/types.h>
-# include <sys/time.h>
# ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
# endif
@@ -136,8 +134,6 @@
# include <sys/sysadmin.h>
#endif
-#include "bio.h"
-
/*
* multithreading support for SunOS 5.X / Solaris 2.x
*/
@@ -156,6 +152,11 @@
# define rt_thread_t pthread_t
#endif
+#include "bio.h"
+
+#include "bu.h"
+
+
#ifdef CRAY
static struct taskcontrol {
int tsk_len;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits