From e07cd906b61d26b482d16e976104dd34d67d1573 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 26 Feb 2006 16:55:08 +0000 Subject: [PATCH] small fixes --- Common/OS.cpp | 4 +++- Common/OS.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Common/OS.cpp b/Common/OS.cpp index 9953b60278..ee416492a6 100644 --- a/Common/OS.cpp +++ b/Common/OS.cpp @@ -1,4 +1,4 @@ -// $Id: OS.cpp,v 1.1 2006-02-26 16:26:08 geuzaine Exp $ +// $Id: OS.cpp,v 1.2 2006-02-26 16:55:08 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -24,6 +24,7 @@ // these are available on all OSes #include <stdlib.h> +#include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <time.h> @@ -35,6 +36,7 @@ #else #include <windows.h> #include <process.h> +#include <io.h> #endif #if defined(__APPLE__) diff --git a/Common/OS.h b/Common/OS.h index dcedc34bea..d46a48d9e8 100644 --- a/Common/OS.h +++ b/Common/OS.h @@ -28,6 +28,6 @@ int GetProcessId(); int UnlinkFile(char *name); int StatFile(char *filename); int KillProcess(int pid); -int SystemCall(char *command); +void SystemCall(char *command); #endif -- GitLab