From 7cd00a5602cebe6a174f5690d41df063da24a206 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Sat, 28 Jun 2003 12:07:00 +0000 Subject: [PATCH] * modules/demux/mkv.cpp: Compile fix for OS X. --- configure.ac | 2 +- modules/demux/mkv.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 895fe762f8..a820149829 100644 --- a/configure.ac +++ b/configure.ac @@ -438,7 +438,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[ AC_MSG_RESULT(no)]) dnl Check for headers -AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h getopt.h strings.h inttypes.h sys/int_types.h) +AC_CHECK_HEADERS(signal.h time.h errno.h stdint.h getopt.h strings.h inttypes.h sys/int_types.h wchar.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(dlfcn.h image.h) AC_CHECK_HEADERS(arpa/inet.h net/if.h netinet/in.h sys/socket.h) diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp index 76fbed538e..37b6daf902 100644 --- a/modules/demux/mkv.cpp +++ b/modules/demux/mkv.cpp @@ -2,7 +2,7 @@ * mkv.cpp : matroska demuxer ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: mkv.cpp,v 1.15 2003/06/26 16:46:19 fenrir Exp $ + * $Id: mkv.cpp,v 1.16 2003/06/28 12:07:00 massiot Exp $ * * Authors: Laurent Aimar * @@ -40,7 +40,9 @@ #include #include -#include +#ifdef HAVE_WCHAR_H +# include +#endif /* libebml and matroska */ #include "ebml/EbmlHead.h" -- 2.39.5