#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#endif
using namespace std;
#include <errno.h>
#include <time.h>
#include <cstring>
#include <cstdio>
#define TXMP_STRING_TYPE std::string
#define XMP_INCLUDE_XMPFILES 1