diff --git a/Stripe_w/bands.c b/Stripe_w/bands.c index 1992795a6..161e8ccde 100644 --- a/Stripe_w/bands.c +++ b/Stripe_w/bands.c @@ -35,15 +35,22 @@ /* TIMING for Windows */ #ifdef WIN32 -#include -#include +# include +# include /* TIMING for UNIX */ #else -#include -#include -#include -extern long times( ); -long elapsed() +# include +# include +# include +# if defined(__FreeBSD__) +# ifndef HZ +# include +# define HZ CLK_TCK +# endif /* HZ */ +# else + extern long times( ); +# endif /* __FreeBSD__ */ + long elapsed() { static long total = 0; long cpu_time, dummy; @@ -55,7 +62,7 @@ long elapsed() total = dummy; return(cpu_time); } -#endif +#endif /* WIN32 */ int norms[STRIP_MAX]; diff --git a/Stripe_w/polyvertsex.h b/Stripe_w/polyvertsex.h index 8e05a7dd3..4c541f7bc 100644 --- a/Stripe_w/polyvertsex.h +++ b/Stripe_w/polyvertsex.h @@ -10,9 +10,17 @@ /* STRIPE: polvertsex.h -----------------------------------------------------------------------*/ -#include "queue.h" -#include +#ifdef HAVE_CONFIG_H +# include +#endif +#ifdef HAVE_STDLIB_H +# include +#else +# include +#endif + +#include "queue.h" /* external functions */ void Start_Vert_Struct();