# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/ezipupdate/hotfix-includes.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- Include the headers declaring localtime, strftime, mcheck and memcpy, the implicit int localtime truncated the returned pointer on 64-bit. diff -urp a/ez-ipupdate.c b/ez-ipupdate.c --- a/ez-ipupdate.c 2002-03-11 23:31:47.000000000 +0000 +++ b/ez-ipupdate.c 2026-11-24 22:00:53.928818644 +0000 @@ -121,6 +121,10 @@ #include #include #include +#include +#if defined(DEBUG) && defined(__linux__) +# include +#endif #if HAVE_FCNTL_H # include #endif diff -urp a/md5.c b/md5.c --- a/md5.c 2000-08-08 07:09:48.000000000 +0000 +++ b/md5.c 2026-11-24 22:00:53.928905863 +0000 @@ -27,11 +27,7 @@ #ifdef USE_MD5 #include -#ifdef HAVE_STRING_H -# include -#else -# include -#endif +#include #include "md5.h"