aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/cal.c')
-rw-r--r--gcc/ada/cal.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/cal.c b/gcc/ada/cal.c
index 72e4f08..31d3983 100644
--- a/gcc/ada/cal.c
+++ b/gcc/ada/cal.c
@@ -6,8 +6,7 @@
* *
* C Implementation File *
* *
- * *
- * Copyright (C) 1992-2001, Free Software Foundation, Inc. *
+ * Copyright (C) 1992-2002, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
@@ -59,6 +58,13 @@ __gnat_duration_to_timeval (long sec, long usec, void *t)
#include <sys/time.h>
#endif
+#ifdef __MINGW32__
+#include "mingw32.h"
+#if STD_MINGW
+#include <winsock.h>
+#endif
+#endif
+
void
__gnat_timeval_to_duration (struct timeval *t, long *sec, long *usec)
{