mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
netbsd: Improve handling of <locale> and <xlocale.h> headers
NetBSD ships with strtod_l(3) in <stdlib.h>. Having strtol_l(3) doesn't imply to have <xlocale.h>. Generalize inclusion of <locale.h> and <xlocale.h>.
This commit is contained in:
parent
04737989ec
commit
2d555ba15c
2 changed files with 5 additions and 1 deletions
|
|
@ -53,9 +53,13 @@
|
|||
#endif
|
||||
|
||||
#ifdef HAVE_STRTOD_L
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#ifdef HAVE_XLOCALE_H
|
||||
#include <xlocale.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SCHED_H
|
||||
#include <sched.h>
|
||||
|
|
@ -106,7 +110,6 @@
|
|||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <xlocale.h>
|
||||
#include <mach/mach_init.h>
|
||||
#include <mach/thread_act.h>
|
||||
#include <mach/thread_policy.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue