From 25dd7baff2a3e31194692208a973dbe0f19d382e Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Thu, 3 Aug 2006 14:58:46 +0200 Subject: [PATCH] Added header for umask and chmod on Windows. Rev: src/modules/system/system.c:1.181 --- src/modules/system/system.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/system/system.c b/src/modules/system/system.c index df6a3833e8..64db80eeae 100644 --- a/src/modules/system/system.c +++ b/src/modules/system/system.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: system.c,v 1.180 2006/08/03 12:11:23 mast Exp $ +|| $Id: system.c,v 1.181 2006/08/03 12:58:46 mast Exp $ */ /* @@ -24,6 +24,10 @@ #include <windows.h> #endif +#ifdef HAVE_IO_H +#include <io.h> +#endif + #include "module_support.h" #include "las.h" #include "interpret.h" -- GitLab