diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-05 15:21:19 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-05 15:21:19 -0800 |
commit | dbe2a8e6ac3d92edf640ed10a6d4a0e658bc35c5 (patch) | |
tree | 2ae2155a32ba6561878211c49dc8b136bf5ec09e | |
parent | af18cb3e7c89d4b6b93765d0f3e5ae6e2e0d8163 (diff) | |
download | pdfium-dbe2a8e6ac3d92edf640ed10a6d4a0e658bc35c5.tar.xz |
Fix build of pdfium_diff
Commit af18cb3 didn't build standalone.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/901313002
-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': [ '../../', |