 diff --git a/pdf/pdf.cc b/pdf/pdf.cc
-index 7aba412..f57902a 100644
+index 1f580e4..939b54d 100644
 --- a/pdf/pdf.cc
 +++ b/pdf/pdf.cc
-@@ -78,7 +78,13 @@ const void* PPP_GetInterface(const char* interface_name) {
+@@ -100,7 +100,12 @@ const void* PPP_GetInterface(const char* interface_name) {
    return pp::Module::Get()->GetPluginInterface(interface_name);
  }
  
 +}  // namespace chrome_pdf
-+
 +
 +extern "C" {
 +

+#define PDF_EXPORT
+#endif // defined(WIN32)
+
+
 namespace chrome_pdf {
 
 class PDFModule : public pp::Module {
@@ -25,6 +32,7 @@ int PPP_InitializeModule(PP_Module module_id,
 void PPP_ShutdownModule();
 const void* PPP_GetInterface(const char* interface_name);
 

 #if defined(OS_WIN)
 // |pdf_buffer| is the buffer that contains the entire PDF document to be
 //     rendered.
@@ -107,6 +114,7 @@ bool RenderPDFPageToBitmap(const void* pdf_buffer,
                            int bitmap_height,
                            int dpi,
                            bool autorotate);
+#endif
 
 }  // namespace chrome_pdf
 
