From: <no...@so...> - 2003-10-02 15:17:14
|
Update of /cvsroot/ijbswa/current/src In directory sc8-pr-cvs1:/tmp/cvs-serv27168 Modified Files: loadcfg.c Log Message: Adjust stat.h header for Windows build Index: loadcfg.c =================================================================== RCS file: /cvsroot/ijbswa/current/src/loadcfg.c,v retrieving revision 2.5 retrieving revision 2.6 diff -u -d -r2.5 -r2.6 --- loadcfg.c 22 Sep 2003 00:33:01 -0000 2.5 +++ loadcfg.c 2 Oct 2003 15:17:07 -0000 2.6 @@ -35,6 +35,9 @@ * * Revisions : * $Log$ + * Revision 2.6 2003/10/02 15:17:07 david__schmidt + * Adjust stat.h header for Windows build + * * Revision 2.5 2003/09/22 00:33:01 david__schmidt * Enable sending a custom 'blocked' image. Shows up as * "image-blocker-custom-file" parameter in config, and @@ -331,6 +334,7 @@ #include <stdio.h> #include <sys/types.h> +#include <sys/stat.h> #include <stdlib.h> #include <string.h> #include <signal.h> @@ -354,17 +358,16 @@ /* VC++ has "_snprintf", not "snprintf" */ #define snprintf _snprintf -#else /* ifndef _WIN32 */ +#else /* every platform but _WIN32 */ #ifndef __OS2__ # include <unistd.h> # include <sys/wait.h> -#endif +#endif /* ndef __OS2__ */ # include <sys/time.h> -# include <sys/stat.h> # include <signal.h> -#endif +#endif /* ndef _WIN32 */ #include "loadcfg.h" #include "list.h" |