Fix build of pdfium_diff
authorTom Sepez <tsepez@chromium.org>
Thu, 5 Feb 2015 23:21:19 +0000 (15:21 -0800)
committerTom Sepez <tsepez@chromium.org>
Thu, 5 Feb 2015 23:21:19 +0000 (15:21 -0800)
Commit af18cb3 didn't build standalone.
TBR=thestig@chromium.org

Review URL: https://codereview.chromium.org/901313002

samples/image_diff_png.h
samples/samples.gyp

index ea77e9a..9febb37 100644 (file)
@@ -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 {
index 9d316ec..e559790 100644 (file)
@@ -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': [
         '../../',