From 4defa620bb9c819203841055871e7c54166c887e Mon Sep 17 00:00:00 2001 From: J. Ali Harlow Date: Wed, 24 Aug 2011 15:45:44 +0100 Subject: [PATCH] MinGW runtime 3.15.2 doesn't define ESTALE or ETIMEDOUT --- librazor/lua.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/librazor/lua.c b/librazor/lua.c index f32e1f5..f5299f1 100644 --- a/librazor/lua.c +++ b/librazor/lua.c @@ -172,10 +172,14 @@ static int proxy_execp(lua_State *L) got_eacces = 1; /* Fall through */ case ENOENT: +#ifdef ESTALE case ESTALE: +#endif case ENOTDIR: case ENODEV: +#ifdef ETIMEDOUT case ETIMEDOUT: +#endif lua_pop(L, lua_gettop(L) - n); break; default: -- 1.7.1