Error in the inclusion of header files of the libnspr4-dev
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/
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.