[SVCHOST][SECLOGON][MSWSOCK] Minimal headers cleanup.

- SVCHOST, SECLOGON: Add missing NTOS_MODE_USER.
- MSWSOCK: Remove some useless windef.h includes.
This commit is contained in:
Hermès Bélusca-Maïto 2022-01-17 00:59:25 +01:00
parent 41e7701e08
commit f1ad6845a8
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 7 additions and 6 deletions

View file

@ -8,18 +8,20 @@
#ifndef _SECLOGON_PCH_
#define _SECLOGON_PCH_
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winsvc.h>
#include <svc.h>
#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
#include <wine/debug.h>

View file

@ -12,11 +12,12 @@
#define WIN32_NO_STATUS
#define WIN32_LEAN_AND_MEAN
#include <rpc.h>
#define NTOS_MODE_USER
#include <ndk/rtlfuncs.h>
#include <ndk/kdtypes.h>
#include <dpfilter.h>
#include <rpc.h>
#include <svc.h>
//

View file

@ -3,7 +3,6 @@
#include <stdlib.h>
#include <ws2spi.h>
#include <nspapi.h>
#include <windef.h>
#include <winuser.h>
#include <windns.h>
#include <guiddef.h>

View file

@ -9,7 +9,6 @@
#include "precomp.h"
#include <windef.h>
#include <ws2spi.h>
#include <nspapi.h>
#include <svc.h>