From: Pierre d'Herbemont Date: Wed, 9 Jul 2008 21:20:55 +0000 (+0200) Subject: rtsp: Include xlocale.h for Mac OS X (at least). X-Git-Tag: 0.9.0-test2~83 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=dfea366d0cf300a175d5efe39b7ec200c9fe7c4e;p=vlc rtsp: Include xlocale.h for Mac OS X (at least). --- diff --git a/configure.ac b/configure.ac index eca81c7786..251800127c 100644 --- a/configure.ac +++ b/configure.ac @@ -802,7 +802,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[ dnl Check for headers AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h stdbool.h getopt.h strings.h inttypes.h sys/int_types.h wchar.h locale.h) -AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h) +AC_CHECK_HEADERS(sys/sockio.h fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h) AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h]) AC_CHECK_HEADERS([net/if.h], [], [], [ diff --git a/modules/misc/rtsp.c b/modules/misc/rtsp.c index 1a7a416e1b..10708f7ea1 100644 --- a/modules/misc/rtsp.c +++ b/modules/misc/rtsp.c @@ -44,10 +44,15 @@ #include #include + #ifndef WIN32 # include #endif +#ifdef HAVE_XLOCALE_H +# include +#endif + /***************************************************************************** * Module descriptor *****************************************************************************/