Revision: 41088
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41088&view=rev
Author:   brlcad
Date:     2010-10-19 05:19:59 +0000 (Tue, 19 Oct 2010)

Log Message:
-----------
protect unistd.h for portability

Modified Paths:
--------------
    brlcad/trunk/src/proc-db/metaball.c

Modified: brlcad/trunk/src/proc-db/metaball.c
===================================================================
--- brlcad/trunk/src/proc-db/metaball.c 2010-10-19 05:18:58 UTC (rev 41087)
+++ brlcad/trunk/src/proc-db/metaball.c 2010-10-19 05:19:59 UTC (rev 41088)
@@ -36,7 +36,9 @@
 #include <stdio.h>
 #include <math.h>
 #include <string.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+#  include <unistd.h>
+#endif
 
 #include "vmath.h"
 #include "raytrace.h"


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

Reply via email to