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>2002-09-19 07:48:19 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-19 07:48:19 +0400
commit468b26c59151e973baf04ad24a4af83c20a34ae6 (patch)
tree65a6521c53d21aa61affc2d412ac4445dfe02565
parent5bf785a017482da9b87a141e91f91a07a4d433d0 (diff)
* cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/cygcheck.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 8102f6821..01bdd561c 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-18 Christopher Faylor <cgf@redhat.com>
+
+ * cygcheck.cc: Include sys/time.h rather than time.h to avoid a
+ compiler error.
+
2002-09-17 Christopher Faylor <cgf@redhat.com>
* cygcheck.cc: Reorder includes to avoid compiler error.
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index 32a3b4b84..9799810cf 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -11,7 +11,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <time.h>
+#include <sys/time.h>
#include <ctype.h>
#include <windows.h>
#include "cygwin/include/sys/cygwin.h"