  @BUILD_LIBTIFF_TRUE@libtiff_includes = $(LIBTIFF_CFLAGS)
  @BUILD_LIBOPENJPEG_TRUE@libjpeg2000_includes = $(LIBOPENJPEG_CFLAGS)
 diff --git a/cpp/poppler-document.cpp b/cpp/poppler-document.cpp
-index 1c24b47..c5bf4fd 100644
+index 1c24b47..732c252 100644
 --- a/cpp/poppler-document.cpp
 +++ b/cpp/poppler-document.cpp
 @@ -30,6 +30,7 @@

+}
+
+double SimpleDocument::GetPageWidth(int page) {
+  return doc_->getPageCropWidth(page);
+}
+
+double SimpleDocument::GetPageHeight(int page) {
+  return doc_->getPageCropHeight(page);
+}
+

diff --git a/configure b/configure
index 2e198c1..e6cd861 100755
--- a/configure
+++ b/configure
@@ -17712,7 +17712,7 @@ if test "x$GXX" = "xyes"; then
