diff --git a/src/jsx_common.hrl b/include/jsx_common.hrl similarity index 100% rename from src/jsx_common.hrl rename to include/jsx_common.hrl diff --git a/src/jsx_decoder.hrl b/include/jsx_decoder.hrl similarity index 100% rename from src/jsx_decoder.hrl rename to include/jsx_decoder.hrl diff --git a/src/jsx.erl b/src/jsx.erl index 2536a34..0d63ec7 100644 --- a/src/jsx.erl +++ b/src/jsx.erl @@ -34,7 +34,7 @@ -export([format/1, format/2]). --include("jsx_common.hrl"). +-include("../include/jsx_common.hrl"). -spec parser() -> jsx_decoder(). diff --git a/src/jsx_encoder.erl b/src/jsx_encoder.erl index 4a1e919..91cf336 100644 --- a/src/jsx_encoder.erl +++ b/src/jsx_encoder.erl @@ -24,7 +24,7 @@ -module(jsx_encoder). --include("jsx_common.hrl"). +-include("../include/jsx_common.hrl"). -export([start/3, diff --git a/src/jsx_format.erl b/src/jsx_format.erl index 918deb3..a750aa7 100644 --- a/src/jsx_format.erl +++ b/src/jsx_format.erl @@ -28,7 +28,7 @@ -export([format/2]). --include("jsx_common.hrl"). +-include("../include/jsx_common.hrl"). -include("jsx_format.hrl"). diff --git a/src/jsx_terms.erl b/src/jsx_terms.erl index e47aac4..58f0055 100644 --- a/src/jsx_terms.erl +++ b/src/jsx_terms.erl @@ -25,7 +25,7 @@ -export([json_to_term/2, term_to_json/2]). --include("jsx_common.hrl"). +-include("../include/jsx_common.hrl"). -record(decoder_opts, { diff --git a/src/jsx_utf16.erl b/src/jsx_utf16.erl index bb6c87f..131fc52 100644 --- a/src/jsx_utf16.erl +++ b/src/jsx_utf16.erl @@ -26,8 +26,8 @@ -define(utf16, true). --include("jsx_common.hrl"). --include("jsx_decoder.hrl"). +-include("../include/jsx_common.hrl"). +-include("../include/jsx_decoder.hrl"). %% i've noticed you've noticed that there's no source here. very astute. see %% jsx_decoder_template.hrl in the include directory. any mofications to this diff --git a/src/jsx_utf16le.erl b/src/jsx_utf16le.erl index db5606d..83cd2b9 100644 --- a/src/jsx_utf16le.erl +++ b/src/jsx_utf16le.erl @@ -26,8 +26,8 @@ -define(utf16le, true). --include("jsx_common.hrl"). --include("jsx_decoder.hrl"). +-include("../include/jsx_common.hrl"). +-include("../include/jsx_decoder.hrl"). %% i've noticed you've noticed that there's no source here. very astute. see %% jsx_decoder_template.hrl in the include directory. any mofications to this diff --git a/src/jsx_utf32.erl b/src/jsx_utf32.erl index a7e7d98..4ebb80f 100644 --- a/src/jsx_utf32.erl +++ b/src/jsx_utf32.erl @@ -26,8 +26,8 @@ -define(utf32, true). --include("jsx_common.hrl"). --include("jsx_decoder.hrl"). +-include("../include/jsx_common.hrl"). +-include("../include/jsx_decoder.hrl"). %% i've noticed you've noticed that there's no source here. very astute. see %% jsx_decoder_template.hrl in the include directory. any mofications to this diff --git a/src/jsx_utf32le.erl b/src/jsx_utf32le.erl index ba76a32..b6406a7 100644 --- a/src/jsx_utf32le.erl +++ b/src/jsx_utf32le.erl @@ -26,8 +26,8 @@ -define(utf32le, true). --include("jsx_common.hrl"). --include("jsx_decoder.hrl"). +-include("../include/jsx_common.hrl"). +-include("../include/jsx_decoder.hrl"). %% i've noticed you've noticed that there's no source here. very astute. see %% jsx_decoder_template.hrl in the include directory. any mofications to this diff --git a/src/jsx_utf8.erl b/src/jsx_utf8.erl index 53b48fe..7c854e7 100644 --- a/src/jsx_utf8.erl +++ b/src/jsx_utf8.erl @@ -26,8 +26,8 @@ -define(utf8, true). --include("jsx_common.hrl"). --include("jsx_decoder.hrl"). +-include("../include/jsx_common.hrl"). +-include("../include/jsx_decoder.hrl"). %% i've noticed you've noticed that there's no source here. very astute. see %% jsx_decoder_template.hrl in the include directory. any mofications to this diff --git a/src/jsx_verify.erl b/src/jsx_verify.erl index c91d453..bcee490 100644 --- a/src/jsx_verify.erl +++ b/src/jsx_verify.erl @@ -25,7 +25,7 @@ -export([is_json/2]). --include("jsx_common.hrl"). +-include("../include/jsx_common.hrl"). -record(verify_opts, {