-- a/./opjitconv/opjitconv.c
++ b/./opjitconv/opjitconv.c
int file_locked = 0;
unsigned int usecs_waited = 0;
int rc = OP_JIT_CONV_OK;
int fd = open(dumpfile, S_IRUSR);
int fd = open(dumpfile, O_CREAT, S_IRUSR);
if (fd < 0) {
perror("opjitconv failed to open JIT dumpfile");
return OP_JIT_CONV_FAIL;