]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-06-17 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:37:08 +0000 (03:37 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 03:37:08 +0000 (03:37 +0000)
[BZ #1106]
* time/mktime.c: Always include <string.h> for prototype of
implicitly used memcpy.

time/mktime.c

index c6ae56ee6024de3c7c72820029606ebe1624466a..f011412327c11f116e405966fb8f0182b4970415 100644 (file)
 
 #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 */