aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/shared.cc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-08-02 16:28:18 +0000
committerDJ Delorie <dj@redhat.com>2000-08-02 16:28:18 +0000
commit4c8d72ded51ac22172d4f2d0250ada6b0dd624ff (patch)
tree4573a70b613646456bd4fed93293c6355566c678 /winsup/cygwin/shared.cc
parentad8dea13f05b51769c9bef7e414f654588971c10 (diff)
downloadnewlib-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.zip
newlib-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.tar.gz
newlib-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.tar.bz2
* 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/shared.cc')
-rw-r--r--winsup/cygwin/shared.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc
index aa3868c..a73494b 100644
--- a/winsup/cygwin/shared.cc
+++ b/winsup/cygwin/shared.cc
@@ -8,12 +8,12 @@ This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
+#include "winsup.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <grp.h>
#include <pwd.h>
-#include "winsup.h"
#define SHAREDVER (unsigned)(cygwin_version.api_major << 16 | \
cygwin_version.api_minor)