diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2023-08-06 01:07:46 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2023-08-06 09:23:43 +0200 |
| commit | 0984c8a873d7ed24259cf1ba600a3c989cdb3b08 (patch) | |
| tree | 35c942467312c2e4ffd3d654917e9579503f3702 /libdvdnav | |
| parent | ba09a974bad106c61008615fb86deffe26f32bd3 (diff) | |
| download | k9copy-0984c8a8.tar.gz k9copy-0984c8a8.zip | |
Fix incorrect use of dvdread includes.
It seems that the library has been designed for use includes in the form
"#include <dvdread/...>" while we used includes without the "dvdread/" prefix.
This caused that instead of using the standard path detected from pkg-config,
the expected path had to be added to to -I flag.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9f7c0362e26f62dc81769ab55a89e32c3c9a268d)
Diffstat (limited to 'libdvdnav')
| -rw-r--r-- | libdvdnav/Makefile.am | 2 | ||||
| -rw-r--r-- | libdvdnav/common.h | 10 | ||||
| -rw-r--r-- | libdvdnav/dvdnav_internal.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/libdvdnav/Makefile.am b/libdvdnav/Makefile.am index 4af5610..fc96611 100644 --- a/libdvdnav/Makefile.am +++ b/libdvdnav/Makefile.am @@ -11,4 +11,4 @@ noinst_HEADERS = common.h dvdread.h -INCLUDES = -I/usr/include/dvdread +INCLUDES = diff --git a/libdvdnav/common.h b/libdvdnav/common.h index c54924e..7f88e7d 100644 --- a/libdvdnav/common.h +++ b/libdvdnav/common.h @@ -9,8 +9,8 @@ #include <stdint.h> #endif -#include "ifo_types.h" -#include "dvd_reader.h" -#include "ifo_read.h" -#include "nav_read.h" -#include "nav_types.h" +#include <dvdread/ifo_types.h> +#include <dvdread/dvd_reader.h> +#include <dvdread/ifo_read.h> +#include <dvdread/nav_read.h> +#include <dvdread/nav_types.h> diff --git a/libdvdnav/dvdnav_internal.h b/libdvdnav/dvdnav_internal.h index efa8708..9bd2a66 100644 --- a/libdvdnav/dvdnav_internal.h +++ b/libdvdnav/dvdnav_internal.h @@ -94,7 +94,7 @@ typedef struct read_cache_s read_cache_t; /* * These are defined here because they are - * not in ifo_types.h, they maybe one day + * not in dvdread/ifo_types.h, they maybe one day */ #ifndef audio_status_t |
