git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59017 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
     #include "wx/colour.h"
 #endif
 
-#include "wx/rawbmp.h"
+// HP aCC for PA-RISC can't compile rawbmp.h
+#if !defined(__HP_aCC) || !defined(__hppa)
+    #include "wx/rawbmp.h"
+#endif
 
 #include "wx/gtk/private/object.h"
 
     }
 }
 
+#if !defined(__HP_aCC) || !defined(__hppa)
 void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
 {
     void* bits = NULL;
 void wxBitmap::UngetRawData(wxPixelDataBase& WXUNUSED(data))
 {
 }
+#endif
 
 bool wxBitmap::HasAlpha() const
 {