summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-02-20 19:36:55 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-02-20 19:36:55 +0000
commit1dd782c8583c79dd9a39e6094268bc5bc84a4b82 (patch)
tree087628abd06c56f51e023fc4b754387587eb420b
parent9e62cf38f365f997b89033544656dae742a40d62 (diff)
2001-02-20 Marcus Brinkmann <marcus@gnu.org>
* timefmt.c: Include <time.h>. Reported by Arkadi E. Shishlov <arkadi@it.lv>.
-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"