[brlcad-commits] SF.net SVN: brlcad:[41089] brlcad/trunk/src/util
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2010-10-19 05:30:21
|
Revision: 41089 http://brlcad.svn.sourceforge.net/brlcad/?rev=41089&view=rev Author: brlcad Date: 2010-10-19 05:30:14 +0000 (Tue, 19 Oct 2010) Log Message: ----------- undoubtedly others, but respond to a volley of Windows compilation header inlusion failures Modified Paths: -------------- brlcad/trunk/src/util/pixblend.c brlcad/trunk/src/util/ttcp.c Modified: brlcad/trunk/src/util/pixblend.c =================================================================== --- brlcad/trunk/src/util/pixblend.c 2010-10-19 05:19:59 UTC (rev 41088) +++ brlcad/trunk/src/util/pixblend.c 2010-10-19 05:30:14 UTC (rev 41089) @@ -35,7 +35,9 @@ #include "common.h" #include <stdlib.h> -#include <sys/time.h> +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif #include <string.h> #include "bio.h" Modified: brlcad/trunk/src/util/ttcp.c =================================================================== --- brlcad/trunk/src/util/ttcp.c 2010-10-19 05:19:59 UTC (rev 41088) +++ brlcad/trunk/src/util/ttcp.c 2010-10-19 05:30:14 UTC (rev 41089) @@ -47,7 +47,9 @@ #include <ctype.h> #include <errno.h> #include <sys/types.h> -#include <sys/socket.h> +#ifndef _WIN32 +# include <sys/socket.h> +#endif #include <netinet/in.h> #include <arpa/inet.h> #include <sys/time.h> /* struct timeval */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |