Fix build of pdfium_diff
Commit af18cb3 didn't build standalone.
TBR=thestig@chromium.org
Review URL: https://codereview.chromium.org/901313002
diff --git a/samples/image_diff_png.h b/samples/image_diff_png.h
index ea77e9a..9febb37 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 9d316ec..e559790 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': [
'../../',