From 4d1ec27bf4097e1ad34127b168516be0c2aaecc3 Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 21 Aug 2009 01:58:39 +0100 Subject: 20090821-0158 --- emu/Nt/devfs.c | 4 ++++ emu/Nt/ie-os.c | 1 + emu/Nt/os.c | 1 + 3 files changed, 6 insertions(+) (limited to 'emu/Nt') diff --git a/emu/Nt/devfs.c b/emu/Nt/devfs.c index 89d52e83..e95e9fd5 100644 --- a/emu/Nt/devfs.c +++ b/emu/Nt/devfs.c @@ -11,6 +11,10 @@ /* TODO: try using / in place of \ in path names */ +#ifndef SID_MAX_SUB_AUTHORITIES +#define SID_MAX_SUB_AUTHORITIES 15 +#endif + enum { MAX_SID = sizeof(SID) + SID_MAX_SUB_AUTHORITIES*sizeof(DWORD), diff --git a/emu/Nt/ie-os.c b/emu/Nt/ie-os.c index f2e559ca..ddf09b57 100644 --- a/emu/Nt/ie-os.c +++ b/emu/Nt/ie-os.c @@ -4,6 +4,7 @@ #include #include #undef Unknown +#include #include "dat.h" #include "fns.h" #include "error.h" diff --git a/emu/Nt/os.c b/emu/Nt/os.c index 1c49fc07..64c82b42 100644 --- a/emu/Nt/os.c +++ b/emu/Nt/os.c @@ -4,6 +4,7 @@ #include #include #undef Unknown +#include #include "dat.h" #include "fns.h" #include "error.h" -- cgit v1.2.3