 -}  // 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 @@

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

+#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);
