summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/localtime.c
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/localtime.c
parentad8dea13f05b51769c9bef7e414f654588971c10 (diff)
downloadcygnal-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.tar.gz
cygnal-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.tar.bz2
cygnal-4c8d72ded51ac22172d4f2d0250ada6b0dd624ff.zip
* 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/localtime.c')
-rw-r--r--winsup/cygwin/localtime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/localtime.c b/winsup/cygwin/localtime.c
index 50747dfcf..e4cc766fd 100644
--- a/winsup/cygwin/localtime.c
+++ b/winsup/cygwin/localtime.c
@@ -5,6 +5,7 @@
/* Temporarily merged private.h and tzfile.h for ease of management - DJ */
/* CYGNUS LOCAL */
+#include "winsup.h"
#define lint
#include <windows.h>