diff options
-rw-r--r-- | samples/image_diff_png.h | 2 | ||||
-rw-r--r-- | samples/samples.gyp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/samples/image_diff_png.h b/samples/image_diff_png.h index ea77e9a98f..9febb3744c 100644 --- a/samples/image_diff_png.h +++ b/samples/image_diff_png.h @@ -5,6 +5,8 @@ #ifndef TOOLS_IMAGEDIFF_IMAGE_DIFF_PNG_H_ #define TOOLS_IMAGEDIFF_IMAGE_DIFF_PNG_H_ +#include <stdlib.h> // for size_t. + #include <vector> namespace image_diff_png { diff --git a/samples/samples.gyp b/samples/samples.gyp index 9d316ec005..e559790476 100644 --- a/samples/samples.gyp +++ b/samples/samples.gyp @@ -24,7 +24,7 @@ 'variables': { 'enable_wexit_time_destructors': 1, }, 'dependencies': [ '../pdfium.gyp:fxcodec', - '../third_party/third_party.gyp:safemath', + '../third_party/third_party.gyp:pdfium_base', ], 'include_dirs': [ '../../', |