summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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",