Skip to content

Commit 4ae31c9

Browse files
committed
compat BUGFIX define crypt_data if not available
1 parent 34659ce commit 4ae31c9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

compat/compat.h.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,12 @@ char *get_current_dir_name(void);
213213
#endif
214214

215215
#ifndef HAVE_CRYPT_R
216+
217+
/* unused anyway */
218+
struct crypt_data {
219+
char a;
220+
};
221+
216222
char *crypt_r(const char *phrase, const char *setting, struct crypt_data *data);
217223
#endif
218224

0 commit comments

Comments
 (0)