* 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.
This commit is contained in:
DJ Delorie
2000-08-02 16:28:18 +00:00
parent ad8dea13f0
commit 4c8d72ded5
60 changed files with 98 additions and 92 deletions

View File

@@ -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;