Commit e141dda
committed
Always use timegm() declaration from libc headers
It seems like the only part missing to use the libc provided one was
to define _DEFAULT_SOURCE. Otherwise on 32-bit musl-libc the function
declaration would be incorrect, causing a 32-bit time_t compat function
to be called.
Signed-off-by: Sertonix <sertonix@posteo.net>1 parent cde20c6 commit e141dda
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
| |||
0 commit comments