mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(unzip): avoid musl time prototype conflicts by skipping legacy gmtime/localtime declarations on linux
This commit is contained in:
parent
8f60091ed2
commit
8300147e0f
1 changed files with 12 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
--- unzip60/unix/unxcfg.h 2009-01-18 18:09:08
|
||||
+++ unzip60/unix/unxcfg.h 2026-02-27 20:56:00
|
||||
@@ -117,7 +117,9 @@
|
||||
# endif
|
||||
#else
|
||||
# include <time.h>
|
||||
+# if !defined(__linux__)
|
||||
struct tm *gmtime(), *localtime();
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#if (defined(BSD4_4) || (defined(SYSV) && defined(MODERN)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue