aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/lib/cygwin_attach_dll.c
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-08-02 14:30:17 +0000
committerChristopher Faylor <me@cgf.cx>2007-08-02 14:30:17 +0000
commitba5f4d5087b34e9b6e2db5b5d189e6109e012c01 (patch)
tree1252393a451159da52d08b184ddd71153a81fe47 /winsup/cygwin/lib/cygwin_attach_dll.c
parentde16566998f1748f12cd4a5650bdd57bd6a18b89 (diff)
downloadnewlib-ba5f4d5087b34e9b6e2db5b5d189e6109e012c01.zip
newlib-ba5f4d5087b34e9b6e2db5b5d189e6109e012c01.tar.gz
newlib-ba5f4d5087b34e9b6e2db5b5d189e6109e012c01.tar.bz2
* lib/cygwin_attach_dll.c: Fix compiler warning.
* lib/cygwin_crt0.c: Ditto.
Diffstat (limited to 'winsup/cygwin/lib/cygwin_attach_dll.c')
-rw-r--r--winsup/cygwin/lib/cygwin_attach_dll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/lib/cygwin_attach_dll.c b/winsup/cygwin/lib/cygwin_attach_dll.c
index 3788bdf..49bb925 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"