-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
bugConfirmed to be a bug in libxcrypt.Confirmed to be a bug in libxcrypt.need more informationWe cannot do anything about this issue until we have more information.We cannot do anything about this issue until we have more information.os-freebsdIssues specific to FreeBSD.Issues specific to FreeBSD.
Description
For some operating systems, such as FreeBSD, struct crypt_data is defined in the unistd.h system header.
In the error output below, libxcrypt's crypt.h is in /usr/local/include...
In file included from ../src/libaccountsservice/act-user.c:30:
/usr/local/include/crypt.h:73:8: error: redefinition of 'crypt_data'
struct crypt_data
^
/usr/include/unistd.h:489:8: note: previous definition is here
struct crypt_data {
^
I don't have a good solution yet. One possibility might be to rename crypt_data in libxcrypt to something else (xcrypt_data, for example).
Metadata
Metadata
Assignees
Labels
bugConfirmed to be a bug in libxcrypt.Confirmed to be a bug in libxcrypt.need more informationWe cannot do anything about this issue until we have more information.We cannot do anything about this issue until we have more information.os-freebsdIssues specific to FreeBSD.Issues specific to FreeBSD.