mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-23 05:55:41 +02:00
3-6 C4
Removing winsock2 reference from unwanted headers in win32compat
This commit is contained in:
parent
0ec4dbaae2
commit
dd1402f68a
@ -38,7 +38,7 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "ansiprsr.h"
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "Debug.h"
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#define ADD_RIGHT 1
|
||||
|
@ -28,7 +28,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <Lmcons.h>
|
||||
#include <Lm.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#define Kerberos_H
|
||||
|
||||
#include "Debug.h"
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <krb5.h>
|
||||
#include <gssapi/gssapi.h>
|
||||
|
@ -29,11 +29,18 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
|
||||
#include "includes.h"
|
||||
#include "lsalogon.h"
|
||||
#include <stdio.h>
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/dsa.h>
|
||||
|
||||
#include "Debug.h"
|
||||
#include "lsastring.h"
|
||||
#include "win32auth.h"
|
||||
#include "Debug.h"
|
||||
|
||||
#include "includes.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "servconf.h"
|
||||
|
||||
|
@ -32,16 +32,8 @@
|
||||
#ifndef LsaLogon_H
|
||||
#define LsaLogon_H
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <stdio.h>
|
||||
#include <openssl/rsa.h>
|
||||
#include <openssl/dsa.h>
|
||||
#include <windows.h>
|
||||
#include <Ntsecapi.h>
|
||||
|
||||
#include "Debug.h"
|
||||
#include "lsastring.h"
|
||||
#include "win32auth.h"
|
||||
|
||||
typedef struct _LsaAuth
|
||||
{
|
||||
|
@ -32,7 +32,7 @@
|
||||
#ifndef LsaString_H
|
||||
#define LsaString_H
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include <Ntsecapi.h>
|
||||
|
@ -29,7 +29,7 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <Windows.h>
|
||||
#include "Debug.h"
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "ansiprsr.h"
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "ansiprsr.h"
|
||||
|
@ -32,7 +32,7 @@
|
||||
#ifndef WIN32AUTH_H
|
||||
#define WIN32AUTH_H 1
|
||||
|
||||
#include <winsock2.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <winnt.h>
|
||||
#include <Lmcons.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user