summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 03:37:08 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 03:37:08 +0000
commit26b5633d7b7285d4d17dff60f9716dfe9ef8e26f (patch)
treee8cb8f90f26047d9848cd479c691fd6de9a6a226 /time
parent6afb0e179384371d6a485f9e8a2a6d4c98f41daa (diff)
2005-06-17 Ulrich Drepper <drepper@redhat.com>
[BZ #1106] * time/mktime.c: Always include <string.h> for prototype of implicitly used memcpy.
Diffstat (limited to 'time')
-rw-r--r--time/mktime.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/mktime.c b/time/mktime.c
index c6ae56ee60..f011412327 100644
--- a/time/mktime.c
+++ b/time/mktime.c
@@ -38,10 +38,11 @@
#include <limits.h>
+#include <string.h> /* For the real memcpy prototype. */
+
#if DEBUG
# include <stdio.h>
# include <stdlib.h>
-# include <string.h>
/* Make it work even if the system's libc has its own mktime routine. */
# define mktime my_mktime
#endif /* DEBUG */