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:
authorChristopher Faylor <me@cgf.cx>2007-08-02 18:30:17 +0400
committerChristopher Faylor <me@cgf.cx>2007-08-02 18:30:17 +0400
commitba5f4d5087b34e9b6e2db5b5d189e6109e012c01 (patch)
tree1252393a451159da52d08b184ddd71153a81fe47
parentde16566998f1748f12cd4a5650bdd57bd6a18b89 (diff)
* lib/cygwin_attach_dll.c: Fix compiler warning.
* lib/cygwin_crt0.c: Ditto.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/lib/cygwin_attach_dll.c2
-rw-r--r--winsup/cygwin/lib/cygwin_crt0.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 9a7c639f5..8359500b7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2007-08-02 Christopher Faylor <me+cygwin@cgf.cx>
+ * lib/cygwin_attach_dll.c: Fix compiler warning.
+ * lib/cygwin_crt0.c: Ditto.
+
+2007-08-02 Christopher Faylor <me+cygwin@cgf.cx>
+
* dcrt0.cc (codepage_type): Remove definition.
* strfuncs.cc: Move it here. New file with bits of miscfuncs.cc.
* miscfuncs.cc: Remove wide character stuff.
diff --git a/winsup/cygwin/lib/cygwin_attach_dll.c b/winsup/cygwin/lib/cygwin_attach_dll.c
index 3788bdf9c..49bb9256d 100644
--- a/winsup/cygwin/lib/cygwin_attach_dll.c
+++ b/winsup/cygwin/lib/cygwin_attach_dll.c
@@ -10,6 +10,8 @@ details. */
#undef __INSIDE_CYGWIN__
#include <windows.h>
+#include <time.h> /* Needed since call to sys/time.h via sys/cygwin.h
+ complains otherwise */
#include <sys/cygwin.h>
#include "crt0.h"
diff --git a/winsup/cygwin/lib/cygwin_crt0.c b/winsup/cygwin/lib/cygwin_crt0.c
index fb2a84b18..8dce9f489 100644
--- a/winsup/cygwin/lib/cygwin_crt0.c
+++ b/winsup/cygwin/lib/cygwin_crt0.c
@@ -10,6 +10,8 @@ details. */
#undef __INSIDE_CYGWIN__
#include <windows.h>
+#include <time.h> /* Needed since call to sys/time.h via sys/cygwin.h
+ complains otherwise */
#include <sys/cygwin.h>
#include <stdlib.h>
#include "crt0.h"