[Brlcad-commits] CVS: brlcad/src/mged cmd.c,14.14,14.15 plot.c,14.4,14.5 tedit.c,14.4,14.5
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: Sean M. <br...@us...> - 2005-08-21 13:56:38
|
Update of /cvsroot/brlcad/brlcad/src/mged In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32359 Modified Files: cmd.c plot.c tedit.c Log Message: quell warnings, add missing headers Index: cmd.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/cmd.c,v retrieving revision 14.14 retrieving revision 14.15 diff -w -u -r14.14 -r14.15 --- cmd.c 18 Jul 2005 05:09:28 -0000 14.14 +++ cmd.c 21 Aug 2005 13:56:30 -0000 14.15 @@ -53,6 +53,9 @@ # include <sys/time.h> #endif #include <time.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif #ifdef DM_X # include "tk.h" Index: plot.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/plot.c,v retrieving revision 14.4 retrieving revision 14.5 diff -w -u -r14.4 -r14.5 --- plot.c 28 May 2005 02:14:52 -0000 14.4 +++ plot.c 21 Aug 2005 13:56:30 -0000 14.5 @@ -38,20 +38,24 @@ #include "common.h" - - #include <math.h> #include <stdio.h> +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + #include "machine.h" #include "bu.h" #include "vmath.h" #include "mater.h" #include "raytrace.h" -#include "./ged.h" #include "plot3.h" + +#include "./ged.h" #include "./mged_solid.h" #include "./mged_dm.h" + /* * F _ P L O T * Index: tedit.c =================================================================== RCS file: /cvsroot/brlcad/brlcad/src/mged/tedit.c,v retrieving revision 14.4 retrieving revision 14.5 diff -w -u -r14.4 -r14.5 --- tedit.c 28 May 2005 02:14:52 -0000 14.4 +++ tedit.c 21 Aug 2005 13:56:30 -0000 14.5 @@ -41,8 +41,6 @@ #include "common.h" - - #include <stdio.h> #include <signal.h> #ifdef HAVE_STRING_H @@ -50,16 +48,22 @@ #else #include <strings.h> #endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + #include "machine.h" #include "vmath.h" #include "nmg.h" #include "raytrace.h" #include "nurb.h" #include "rtgeom.h" + #include "./ged.h" #include "./sedit.h" #include "./mged_dm.h" + #define LINELEN 256 /* max length of input line */ #define DEFEDITOR "/bin/ed" #define V3BASE2LOCAL( _pt ) (_pt)[X]*base2local , (_pt)[Y]*base2local , (_pt)[Z]*base2local |