From dfea366d0cf300a175d5efe39b7ec200c9fe7c4e Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Wed, 9 Jul 2008 23:20:55 +0200 Subject: [PATCH] rtsp: Include xlocale.h for Mac OS X (at least). --- configure.ac | 2 +- modules/misc/rtsp.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 *****************************************************************************/ -- 2.39.2