Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time.h definition missing in dpi/zip.c and dpi/fileutil.c #51

Open
ghost opened this issue Oct 13, 2024 · 0 comments
Open

time.h definition missing in dpi/zip.c and dpi/fileutil.c #51

ghost opened this issue Oct 13, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 13, 2024

Missing time.h definition in dpi/zip.c and dpi/fileutil.c

And also:

#define __USE_XOPEN

#define _GNU_SOURCE

in dpi/zip.c


resulting in:

zip.c: In function ‘Zip_dillodir_fs_new’:
zip.c:307:13: error: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration]
307 | strptime(timestamp, "%m-%d-%Y %H:%M", &tm);
| ^~~~~~~~
| strftime

using commit: 28ecf13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants