Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use right headers and flags in configure #2480

Closed
wants to merge 2 commits into from
Closed

Commits on Sep 6, 2022

  1. configure: Pass _XOPEN_SOURCE when checking for strptime

    Include sys/time.h for gettimeofday since thats where its in glibc
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    kraj committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    40bbd41 View commit details
    Browse the repository at this point in the history
  2. builtin: Replace _BSD_SOURCE with _DEFAULT_SOURCE

    newer glibc has remove _BSD_SOURCE and wants it to be replaced with _DEFAULT_SOURCE
    
    Fixes
    /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings]
    warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    kraj committed Sep 6, 2022
    Configuration menu
    Copy the full SHA
    cda1734 View commit details
    Browse the repository at this point in the history