 -}  // namespace chrome_pdf
 +}
 diff --git a/pdf/pdf.gyp b/pdf/pdf.gyp
-index f47e33a..19864bb 100644
+index f47e33a..26207ea 100644
 --- a/pdf/pdf.gyp
 +++ b/pdf/pdf.gyp
 @@ -6,7 +6,7 @@

+#endif // defined(WIN32)
+
+
 #include "ppapi/c/ppb.h"
 #include "ppapi/cpp/module.h"
 
@@ -25,6 +32,7 @@ int PPP_InitializeModule(PP_Module module_id,
 void PPP_ShutdownModule();
 const void* PPP_GetInterface(const char* interface_name);

       'dependencies': [
         '../base/base.gyp:base',
         '../components/components.gyp:ui_zoom',
@@ -14,6 +14,7 @@
         '../net/net.gyp:net',
         '../ppapi/ppapi.gyp:ppapi_cpp_objects',
         '../ppapi/ppapi.gyp:ppapi_internal_module',
+        '../printing/printing.gyp:printing',
         '../third_party/pdfium/pdfium.gyp:pdfium',
       ],
       'ldflags': [ '-L<(PRODUCT_DIR)',],
diff --git a/pdf/pdf.h b/pdf/pdf.h
index 37e72e5..6a31fc6 100644
--- a/pdf/pdf.h
+++ b/pdf/pdf.h
@@ -8,6 +8,13 @@
 #include "ppapi/c/ppb.h"
 #include "ppapi/cpp/module.h"
 
+#if defined(WIN32)
+#define PDF_EXPORT __declspec(dllexport)
