[Git][videolan/libdvdcss][master] Fixed compilation problems with PATH_MAX
"Jean-Baptiste Kempf (@jbk)" <[email protected]> Mon, 17 Nov 2025 09:21:23 +0100
| Newsgroups | gmane.comp.video.videolan.libdvdcss.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============5240117108099182888== Content-Type: multipart/alternative; boundary="--==_mimepart_691adb037d82b_4b5af112c76c4159335"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_691adb037d82b_4b5af112c76c4159335 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdcss Commits: 7558acb0 by Bernd Kuhls at 2025-11-16T09:47:23+01:00 Fixed compilation problems with PATH_MAX In file included from ../src/cpxm.c:38: ../src/libdvdcss.h:65:26: error: =E2=80=98PATH_MAX=E2=80=99 undeclared he= re (not in a function) 65 | char psz_cachefile[PATH_MAX]; In file included from ../src/error.c:26: ../src/libdvdcss.h:65:26: error: =E2=80=98PATH_MAX=E2=80=99 undeclared he= re (not in a function) 65 | char psz_cachefile[PATH_MAX]; In file included from ../src/libdvdcpxm.c:47: ../src/libdvdcss.h:65:26: error: =E2=80=98PATH_MAX=E2=80=99 undeclared he= re (not in a function) 65 | char psz_cachefile[PATH_MAX]; Signed-off-by: Bernd Kuhls <[email protected]> - - - - - 1 changed file: - src/libdvdcss.h Changes: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D src/libdvdcss.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D @@ -26,6 +26,11 @@ = #include <limits.h> = +#include <config.h> +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif + #include "dvdcss/dvdcss.h" #include "cpxm.h" #include "css.h" View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/= 7558acb06d8ba6346a3bb6fd668929ff04573946 -- = View it on GitLab: https://code.videolan.org/videolan/libdvdcss/-/commit/= 7558acb06d8ba6346a3bb6fd668929ff04573946 You're receiving this email because of your account on code.videolan.org.= VideoLAN code repository instance= ----==_mimepart_691adb037d82b_4b5af112c76c4159335-- --===============5240117108099182888== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ libdvdcss-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libdvdcss-devel --===============5240117108099182888==--