[libdvdnav-devel] [Git][videolan/libdvdread][master] Use if defined(HAVE_DIRENT_H)

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Jul 19 00:06:41 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / libdvdread


Commits:
97db5a36 by Scott Theisen at 2026-07-18T14:15:08-04:00
Use if defined(HAVE_DIRENT_H)

to match uses of other config defines.

- - - - -


1 changed file:

- src/file/file_posix.c


Changes:

=====================================
src/file/file_posix.c
=====================================
@@ -28,7 +28,7 @@
 
 #include <sys/stat.h>
 #include <fcntl.h>
-#if HAVE_DIRENT_H
+#if defined(HAVE_DIRENT_H)
 #include <dirent.h>
 #endif
 



View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/97db5a36e49ea46be5e347ebefed60f1db1b85b1

-- 
View it on GitLab: https://code.videolan.org/videolan/libdvdread/-/commit/97db5a36e49ea46be5e347ebefed60f1db1b85b1
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the libdvdnav-devel mailing list