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:
authorDJ Delorie <dj@redhat.com>2000-08-02 20:28:18 +0400
committerDJ Delorie <dj@redhat.com>2000-08-02 20:28:18 +0400
commit4c8d72ded51ac22172d4f2d0250ada6b0dd624ff (patch)
tree4573a70b613646456bd4fed93293c6355566c678 /winsup/cygwin/dtable.cc
parentad8dea13f05b51769c9bef7e414f654588971c10 (diff)
* winsup.h: take out protections of environ, errno, allow C use
* *.cc: put winsup.h before other headers (for __INSIDE_CYGWIN__); use cur_environ() instead of just environ * times.cc: remove import protections * glob.c: add winsup.h * localtime.c: ditto * smallprint.c: ditto * Makefile.in: don't __INSIDE_CYGWIN__ as it messes up profiling.
Diffstat (limited to 'winsup/cygwin/dtable.cc')
-rw-r--r--winsup/cygwin/dtable.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc
index 32c4a4347..ad6ec5dc7 100644
--- a/winsup/cygwin/dtable.cc
+++ b/winsup/cygwin/dtable.cc
@@ -10,6 +10,8 @@ details. */
#define __INSIDE_CYGWIN_NET__
+#define Win32_Winsock
+#include "winsup.h"
#include <errno.h>
#include <sys/socket.h>
#include <stdlib.h>
@@ -17,8 +19,6 @@ details. */
#include <unistd.h>
#include <fcntl.h>
-#define Win32_Winsock
-#include "winsup.h"
#include <winsock.h>
hinfo dtable;