diff options
-rw-r--r-- | libkdcraw/dcraw/dcraw.c | 4 | ||||
-rw-r--r-- | libkdcraw/test/CMakeLists.txt | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libkdcraw/dcraw/dcraw.c b/libkdcraw/dcraw/dcraw.c index 1b9dce6..36dcc71 100644 --- a/libkdcraw/dcraw/dcraw.c +++ b/libkdcraw/dcraw/dcraw.c @@ -3935,7 +3935,7 @@ void CLASS vng_interpolate() signed char y1, x1, y2, x2, weight; unsigned char grads; }; - static const interpolate_terms terms[] = { + static const struct interpolate_terms terms[] = { {-2,-2,+0,-1,0,0x01}, {-2,-2,+0,+0,1,0x01}, {-2,-1,-1,+0,0,0x01}, {-2,-1,+0,-1,0,0x02}, {-2,-1,+0,+0,0,0x03}, {-2,-1,+0,+1,1,0x01}, {-2,+0,+0,-1,0,0x06}, {-2,+0,+0,+0,1,0x02}, {-2,+0,+0,+1,0,0x03}, @@ -3959,7 +3959,7 @@ void CLASS vng_interpolate() {+1,-1,+1,+1,0,0x88}, {+1,+0,+1,+2,0,0x08}, {+1,+0,+2,-1,0,0x40}, {+1,+0,+2,+1,0,0x10} }; - const interpolate_terms *cpt; + const struct interpolate_terms *cpt; signed char *cp; signed char chood[] = { -1,-1, -1,0, -1,+1, 0,+1, +1,+1, +1,0, +1,-1, 0,-1 }; ushort (*brow[5])[4], *pix; diff --git a/libkdcraw/test/CMakeLists.txt b/libkdcraw/test/CMakeLists.txt index c412d45..2e4a718 100644 --- a/libkdcraw/test/CMakeLists.txt +++ b/libkdcraw/test/CMakeLists.txt @@ -6,6 +6,11 @@ include_directories( ${CMAKE_SOURCE_DIR}/libkdcraw/libkdcraw ) +include_directories( SYSTEM + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + ##### test programs |