summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libshouldbeinlibc/ChangeLog5
-rw-r--r--libshouldbeinlibc/timefmt.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libshouldbeinlibc/ChangeLog b/libshouldbeinlibc/ChangeLog
index 4126bb86..97d9fa44 100644
--- a/libshouldbeinlibc/ChangeLog
+++ b/libshouldbeinlibc/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-20 Marcus Brinkmann <marcus@gnu.org>
+
+ * timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov
+ <arkadi@it.lv>.
+
2000-10-30 Marcus Brinkmann <marcus@gnu.org>
* wire.c: Include <error.h>.
diff --git a/libshouldbeinlibc/timefmt.c b/libshouldbeinlibc/timefmt.c
index da4ccde0..aa8965b7 100644
--- a/libshouldbeinlibc/timefmt.c
+++ b/libshouldbeinlibc/timefmt.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
+#include <time.h>
#include "timefmt.h"