From a52a555ba56bc5167e594206b229e2c626e0a2dd Mon Sep 17 00:00:00 2001 From: kvigor Date: Mon, 25 Jun 2001 19:09:58 +0000 Subject: [PATCH 1/1] warning cleanup git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@945 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/Util/MySystem.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/support/Util/MySystem.c b/support/Util/MySystem.c index 411b11ff..46d29f9d 100644 --- a/support/Util/MySystem.c +++ b/support/Util/MySystem.c @@ -30,7 +30,14 @@ #include #endif + +#if !defined(__BORLANDC__) && !defined(_MSC_VER) +#include +#else +// No unistd.h in Borland C++ +extern int access (const char *, int); #define X_OK 1 +#endif /*! Call an external program with arguements -- 2.30.2