Skip to content

Commit

Permalink
openjpeg.h: make sure to include opj_config.h (fixes #1514)
Browse files Browse the repository at this point in the history
It was previously included by openjpeg.h
  • Loading branch information
rouault committed Feb 27, 2024
1 parent d2ba102 commit e521a50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/openjp2/openjpeg.h
Expand Up @@ -138,6 +138,8 @@ typedef int64_t OPJ_OFF_T; /* 64-bit file offset type */
#include <stdio.h>
typedef size_t OPJ_SIZE_T;

#include "opj_config.h"

/* Avoid compile-time warning because parameter is not used */
#define OPJ_ARG_NOT_USED(x) (void)(x)

Expand Down

0 comments on commit e521a50

Please sign in to comment.