Skip to content

Commit 50a349a

Browse files
committed
compat BUGFIX freebsd redefinition
1 parent 4f98791 commit 50a349a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/compat.h.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,12 @@ char *get_current_dir_name(void);
218218

219219
#ifndef HAVE_CRYPT_R
220220

221+
# if !defined (__FreeBSD__)
221222
/* unused anyway */
222223
struct crypt_data {
223224
char a;
224225
};
226+
# endif
225227

226228
char *crypt_r(const char *phrase, const char *setting, struct crypt_data *data);
227229
#endif

0 commit comments

Comments
 (0)