userenv: Add a missing include directive to userenv.h.

Francois Gouget fgouget at free.fr
Mon Dec 12 16:54:12 CST 2011


---

The explicit objbase.h include directive is needed because in Wine's 
code we never include windows.h.

 dlls/userenv/userenv_main.c |    1 +
 include/userenv.h           |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/userenv/userenv_main.c b/dlls/userenv/userenv_main.c
index 89fedab..f0184e5 100644
--- a/dlls/userenv/userenv_main.c
+++ b/dlls/userenv/userenv_main.c
@@ -28,6 +28,7 @@
 #include "winternl.h"
 #include "winnls.h"
 #include "sddl.h"
+#include "objbase.h"
 #include "userenv.h"
 
 #include "wine/debug.h"
diff --git a/include/userenv.h b/include/userenv.h
index de8bbe0..136c7f6 100644
--- a/include/userenv.h
+++ b/include/userenv.h
@@ -19,7 +19,7 @@
 #ifndef __WINE_USERENV_H
 #define __WINE_USERENV_H
 
-/* FIXME: #include <wbemcli.h> */
+#include <wbemcli.h>
 #include <profinfo.h>
 
 #define PT_TEMPORARY    0x00000001
-- 
1.7.7.3




More information about the wine-patches mailing list