Skip to content

timegm conflicts on AIX #356

@AaronAtDuo

Description

@AaronAtDuo

Description

Multiple customers have reported an issue with compiling on AIX, and getting an error about a timegm conflict:

../config.h:240:8: error: conflicting types for 'timegm'

Expected Behavior

Duo Unix should compile on AIX systems

Actual Behavior

Some AIX systems get the above error

Steps to Reproduce

Unknown

Workarounds

One reported workaround is to modify config.h to comment out the timegm handling:

/*
#ifndef HAVE_TIMEGM
time_t timegm(struct tm *tm);
#endif
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions