#include <stdio.h>
#include <string.h>
#if defined(HAVE_INTTYPES_H)
#include <inttypes.h>
#elif defined(HAVE_STDINT_H)
#include <stdint.h>
#endif
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include "config.h"
#include <dvdread/dvd_reader.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#ifdef HAVE_STATVFS
#include <sys/statvfs.h>