Skip to content

asyncrt_utils.h: xlocale.h has been renamed upstream #485

@c72578

Description

@c72578

Currently the file "Release/include/cpprest/asyncrt_utils.h" includes xlocale.h
Recently, xlocale.h has been renamed upstream in glibc. See:

Rename xlocale.h to bits/types/__locale_t.h
https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b6336db7492e47d2e8e72eb8af53b5506d
https://sourceware.org/git/?p=glibc.git;a=commit;h=af85385f311c574590381f7897461643f8a2fe6f

cpprestsdk should care about this include, ideally check for it.

Otherwise there will be the following build error:

/builddir/build/BUILD/cpprestsdk-2.9.1/Release/include/cpprest/asyncrt_utils.h:33:10:
fatal error: xlocale.h: No such file or directory #include <xlocale.h>

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