/opt/xulrunner/include/jni.h has following include definition #include "prtypes.h" But prtypes.h is in /usr/include. Therefor I suggest to patch it --- /opt/xulrunner/include/jni_md.h.orig 2009-03-26 14:00:10.000000000 +0100 +++ /opt/xulrunner/include/jni_md.h 2009-03-26 13:58:26.000000000 +0100 @@ -57,7 +57,7 @@ #ifndef JNI_MD_H #define JNI_MD_H -#include "prtypes.h" /* needed for _declspec */ +#include <nspr/prtypes.h> /* needed for _declspec */ /******************************************************************************* * WHAT'S UP WITH THIS FILE?
Same for /opt/xulrunner/include/jri_md.h /opt/xulrunner/include/npapi.h /opt/xulrunner/include/nscore.h /opt/xulrunner/include/nsTArray.h
If you want this fixed, it belongs upstream. There are using local defines as it is a binary that is intended to work on any x86 system.
These are the headers that are ship'd with the binary which includes its own version of nss/nspr.