0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/dcmtk/0002-fix-for-pwd.h.patch
2022-10-09 12:11:32 +02:00

14 lines
316 B
Diff

diff -uNr a/ofstd/include/dcmtk/ofstd/ofpwd.h b/ofstd/include/dcmtk/ofstd/ofpwd.h
--- a/ofstd/include/dcmtk/ofstd/ofpwd.h
+++ b/ofstd/include/dcmtk/ofstd/ofpwd.h
@@ -31,6 +31,9 @@
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
+#ifndef HAVE_PASSWD_GECOS
+#undef pw_gecos
+#endif
END_EXTERN_C
#ifdef HAVE_WINDOWS_H