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:
authorJeff Johnston <jjohnstn@redhat.com>2004-04-02 05:05:43 +0400
committerJeff Johnston <jjohnstn@redhat.com>2004-04-02 05:05:43 +0400
commit59c9f5f586104615fe5acce7d7d506f26340d02f (patch)
treed5d20ae50c136f341546c3ba5ee69a78741c9595
parent38f4f02370cd42e2e4f8cc46e51013581d0973d0 (diff)
2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/time/strptime.c: Add standard includes to avoid warning messages at compilation time.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/time/strptime.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7da08c5ec..e27307910 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
+
+ * libc/time/strptime.c: Add standard includes to avoid
+ warning messages at compilation time.
+
2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
diff --git a/newlib/libc/time/strptime.c b/newlib/libc/time/strptime.c
index 929ad9211..411e678a8 100644
--- a/newlib/libc/time/strptime.c
+++ b/newlib/libc/time/strptime.c
@@ -33,6 +33,9 @@
#include <stddef.h>
#include <stdio.h>
#include <time.h>
+#include <string.h>
+#include <ctype.h>
+#include <stdlib.h>
static const char *abb_weekdays[] = {
"Sun",