Revision: 57101
          http://sourceforge.net/p/brlcad/code/57101
Author:   starseeker
Date:     2013-08-23 13:30:14 +0000 (Fri, 23 Aug 2013)
Log Message:
-----------
sys/param.h isn't available on Windows - conditionalize it.

Modified Paths:
--------------
    brlcad/trunk/src/other/stepcode/src/express/test/print_attrs.c
    brlcad/trunk/src/other/stepcode/src/express/test/print_schemas.c

Modified: brlcad/trunk/src/other/stepcode/src/express/test/print_attrs.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/express/test/print_attrs.c      
2013-08-23 12:48:33 UTC (rev 57100)
+++ brlcad/trunk/src/other/stepcode/src/express/test/print_attrs.c      
2013-08-23 13:30:14 UTC (rev 57101)
@@ -6,8 +6,11 @@
  * print_attrs -a <entity> <schema>
  */
 
+#include "sc_cf.h"
 #include <stdlib.h>
-#include <sys/param.h>
+#ifdef HAVE_SYS_PARAM_H
+#  include <sys/param.h>
+#endif
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>

Modified: brlcad/trunk/src/other/stepcode/src/express/test/print_schemas.c
===================================================================
--- brlcad/trunk/src/other/stepcode/src/express/test/print_schemas.c    
2013-08-23 12:48:33 UTC (rev 57100)
+++ brlcad/trunk/src/other/stepcode/src/express/test/print_schemas.c    
2013-08-23 13:30:14 UTC (rev 57101)
@@ -2,8 +2,11 @@
 /* prints names of schemas used in an EXPRESS file */
 /* symlink.c author: Don Libes, NIST, 20-Mar-1993 */
 
+#include "sc_cf.h"
 #include <stdlib.h>
-#include <sys/param.h>
+#ifdef HAVE_SYS_PARAM_H
+#  include <sys/param.h>
+#endif
 #include <stdio.h>
 #include <errno.h>
 #include <unistd.h>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to