[
  [
    "npapi-headers-from-WebCore-r41808/npapi.h.orig", 
    "npapi-headers-from-WebCore-r41808/npapi.h", 
    [
      "--- npapi-headers-from-WebCore-r41808/npapi.h.orig", 
      "+++ npapi-headers-from-WebCore-r41808/npapi.h", 
      "@@ -94,8 +94,10 @@", 
      "#endif", 
      "", 
      "#ifdef XP_UNIX", 
      "+#if defined(MOZ_X11)", 
      "#include <X11/Xlib.h>", 
      "#include <X11/Xutil.h>", 
      "+#endif", 
      "#include <stdio.h>", 
      "#endif", 
      "", 
      "@@ -249,10 +251,12 @@", 
      "typedef struct", 
      "{", 
      "int32           type;", 
      "+#ifdef MOZ_X11", 
      "Display*        display;", 
      "Visual*         visual;", 
      "Colormap        colormap;", 
      "unsigned int    depth;", 
      "+#endif", 
      "} NPSetWindowCallbackStruct;", 
      "", 
      "typedef struct", 
      "@@ -562,7 +566,7 @@", 
      "uint32   wParam;", 
      "uint32   lParam;", 
      "} NPEvent;", 
      "-#elif defined (XP_UNIX)", 
      "+#elif defined (XP_UNIX) && defined(MOZ_X11)", 
      "typedef XEvent NPEvent;", 
      "#else", 
      "typedef void*            NPEvent;", 
      "@@ -583,7 +587,7 @@", 
      "typedef CGPathRef NPCGRegion;", 
      "#elif defined(XP_WIN)", 
      "typedef HRGN NPRegion;", 
      "-#elif defined(XP_UNIX)", 
      "+#elif defined(XP_UNIX) && defined(MOZ_X11)", 
      "typedef Region NPRegion;", 
      "#else", 
      "typedef void *NPRegion;"
    ]
  ]
]