Error in the inclusion of header files of the libnspr4-dev

Bug #963816 reported by Robby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mozjs (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

I'm trying to compile a project who needs the SpiderMonkey headers files.
When I needed to include the file "/usr/include/js/jslock.h" (from libmozjs185-1.0-dev) I found a (probable) bug:

The lines 46-51 include some files from libnspr4-dev package:

#ifdef JS_THREADSAFE
# include "pratom.h"
# include "prlock.h"
# include "prcvar.h"
# include "prthread.h"
#endif

but that's files are not in the same folder like jslock.h. So these lines must be like that:

#ifdef JS_THREADSAFE
# include <nspr/pratom.h>
# include <nspr/prlock.h>
# include <nspr/prcvar.h>
# include <nspr/prthread.h>
#endif

I hope this report will be usefull.

See ya!

lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

Versions:
libnspr4-dev: 4.8.7-0ubuntu3
libmozjs185-dev: 1.8.5-1.0.0-0ubuntu5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.