Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/libc/minires-os-if.c')
-rw-r--r--winsup/cygwin/libc/minires-os-if.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/winsup/cygwin/libc/minires-os-if.c b/winsup/cygwin/libc/minires-os-if.c
index f59369827..f0cbe56ab 100644
--- a/winsup/cygwin/libc/minires-os-if.c
+++ b/winsup/cygwin/libc/minires-os-if.c
@@ -10,6 +10,15 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
+#define __INSIDE_CYGWIN_NET__
+#define USE_SYS_TYPES_FD_SET
+#include <winsup.h>
+#include <ws2tcpip.h>
+#include <iphlpapi.h>
+#include <windns.h>
+#include <ntdef.h>
+#include "ntdll.h"
+#undef h_errno
#include "minires.h"
#ifdef __CYGWIN__
@@ -24,13 +33,6 @@ details. */
#undef NOERROR
#undef DELETE
-#include <windows.h>
-#include <iphlpapi.h>
-#include <windns.h>
-#include <ntdef.h>
-#include "ntdll.h"
-#include <wchar.h>
-
/***********************************************************************
* write_record: Translates a Windows DNS record into a compressed record
***********************************************************************/