]> git.sesse.net Git - vlc/commitdiff
rtsp: Include xlocale.h for Mac OS X (at least).
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 9 Jul 2008 21:20:55 +0000 (23:20 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 9 Jul 2008 21:20:55 +0000 (23:20 +0200)
configure.ac
modules/misc/rtsp.c

index eca81c778660b3ac455b125ca141ebc1fd5b61c1..251800127c002fcede8874b91e58d68df50249f2 100644 (file)
@@ -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], [], [],
   [
index 1a7a416e1b58c97fd7d4e3552906806ef0754e59..10708f7ea1752e658f14f518f727dd80d5f4f63f 100644 (file)
 #include <vlc_strings.h>
 
 #include <errno.h>
+
 #ifndef WIN32
 # include <locale.h>
 #endif
 
+#ifdef HAVE_XLOCALE_H
+# include <xlocale.h>
+#endif
+
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/