summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2009-08-21 01:58:39 +0100
committerforsyth <forsyth@vitanuova.com>2009-08-21 01:58:39 +0100
commit4d1ec27bf4097e1ad34127b168516be0c2aaecc3 (patch)
treecdef735604046c5017d50977b1e60721a4ca8856 /emu
parent2c843c50e51eadadc6fe6df028d1a4dc4006a63d (diff)
20090821-0158
Diffstat (limited to 'emu')
-rw-r--r--emu/Nt/devfs.c4
-rw-r--r--emu/Nt/ie-os.c1
-rw-r--r--emu/Nt/os.c1
3 files changed, 6 insertions, 0 deletions
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 <winbase.h>
#include <winsock.h>
#undef Unknown
+#include <excpt.h>
#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 <winbase.h>
#include <winsock.h>
#undef Unknown
+#include <excpt.h>
#include "dat.h"
#include "fns.h"
#include "error.h"