summaryrefslogtreecommitdiff
path: root/couchjs/c_src/sm.h
diff options
context:
space:
mode:
Diffstat (limited to 'couchjs/c_src/sm.h')
-rw-r--r--couchjs/c_src/sm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/couchjs/c_src/sm.h b/couchjs/c_src/sm.h
new file mode 100644
index 00000000..a40e054d
--- /dev/null
+++ b/couchjs/c_src/sm.h
@@ -0,0 +1,13 @@
+#ifndef COUCHJS_SM_H
+#define COUCHJS_SM_H
+
+#include "config.h"
+#ifdef HAVE_JS_JSAPI_H
+#include <js/jsapi.h>
+#elif HAVE_MOZJS_JSAPI_H
+#include <mozjs/jsapi.h>
+#else
+#include <jsapi.h>
+#endif
+
+#endif // included sm.h