[libdvdcss-devel] [Git][videolan/libdvdcss][master] Fixed compilation problems with PATH_MAX

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Mon Nov 17 08:21:23 UTC 2025



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: ‘PATH_MAX’ undeclared here (not in a function)
   65 |     char   psz_cachefile[PATH_MAX];

In file included from ../src/error.c:26:
../src/libdvdcss.h:65:26: error: ‘PATH_MAX’ undeclared here (not in a function)
   65 |     char   psz_cachefile[PATH_MAX];

In file included from ../src/libdvdcpxm.c:47:
../src/libdvdcss.h:65:26: error: ‘PATH_MAX’ undeclared here (not in a function)
   65 |     char   psz_cachefile[PATH_MAX];

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>

- - - - -


1 changed file:

- src/libdvdcss.h


Changes:

=====================================
src/libdvdcss.h
=====================================
@@ -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


More information about the libdvdcss-devel mailing list