-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Thank you! It's worth to document this -v feature on the website. http://www.freedesktop.org/wiki/Software/PulseAudio/HowToUseGitSendEmail / On 07.12.2015 09:06, David Henningsson wrote: > Applied, thanks. > > Btw, when you make a new patch that supersedes another, you can use > "git send-email"'s -v2 (and -v3 etc) flag to change the subject > from [PATCH] to [PATCH v2]. Doing so helps both us and patchwork to > track that the old patch is superseded. > > On 2015-11-28 10:01, Kamil Rytarowski wrote: >> 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>. --- configure.ac | 1 + >> src/pulsecore/core-util.c | 5 ++++- 2 files changed, 5 >> insertions(+), 1 deletion(-) >> >> diff --git a/configure.ac b/configure.ac index 003673e..5b3ce7d >> 100644 --- a/configure.ac +++ b/configure.ac @@ -447,6 +447,7 @@ >> AC_CHECK_HEADERS_ONCE([sys/eventfd.h]) >> AC_CHECK_HEADERS_ONCE([execinfo.h]) >> AC_CHECK_HEADERS_ONCE([langinfo.h]) >> AC_CHECK_HEADERS_ONCE([regex.h pcreposix.h]) >> +AC_CHECK_HEADERS_ONCE([locale.h xlocale.h]) >> >> AM_CONDITIONAL(HAVE_SYS_EVENTFD_H, test >> "x$ac_cv_header_sys_eventfd_h" = "xyes") >> >> diff --git a/src/pulsecore/core-util.c >> b/src/pulsecore/core-util.c index 2099686..ee74280 100644 --- >> a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ >> -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> >> > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIbBAEBCAAGBQJWZXG+AAoJEEuzCOmwLnZsb1gP+MVXa3tlrX+rvhVaBBEWkiWF +TKTY0m/R0KIp+Cs2n5/IuCQ6jCBv3zJIgn25QrUcTwImwiCOBuXPwLBapnw+JeO NeExH14P8ibpnKa71kyh/7xXvyW60Rnz+n4Em+0IluQ3buD+ylznV1nni7hURPna I/3V9yEDaKjFSPVphorCMp4y3BeBnyC1r8lPIPaIH8+r4FZ89SMHhaDPwoK+hyT/ +gp13e8lpiOmyiZjNl8K1q70OoX94HGdjbTpicFniMJGHvcNMikziQ1/K9QUY3bx JHRKbmzVqkUWUMfDXx5K0t7tYTgfHmTgkBScVB8d1U5+bq4UlWWv6tze9I2ID3D1 eDLkJUUG9gvLS78jcaW7ui3hW136wCR6b54iWWULXFu9gmmzWXyQMI4LaIpN0TYP R3GiCDKJhkUg6BxYhyQlRoZ78O/xDOd3GBUr84DePHil8i6BEFrlt3izi/aY757A VWNn4NsjPRfpIaJDrrU6zkGDfiTtNpniz1EjxNRYHsBmy4VOxgWcxPqkSteiwC7O eGrJwvHvKFJIJuyAVL+eCG0mEUQuGoiW7kp/3iUpM6H7E4q/o3bs6vEcJOCGFsbE QCC6bGGEybRPVW/NekJgCcnMxtSxHCjdBYMJsRLatZ2SSCCGd9i+u4e40S9ATsqa 6KvocTUNo55IckmscSU= =PNAR -----END PGP SIGNATURE-----