diff options
author | Luka Perkov | 2015-09-21 11:39:19 +0200 |
---|---|---|
committer | Luka Perkov | 2015-09-21 12:24:11 +0200 |
commit | 26fee2cd7cdfe455109af9d59f96ac3df5edca24 (patch) | |
tree | 3ee3ce1a3e111d8217090f613111ea069111c409 /002-json-c-include.patch | |
download | aur-26fee2cd7cdfe455109af9d59f96ac3df5edca24.tar.gz |
initial commit
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
Diffstat (limited to '002-json-c-include.patch')
-rw-r--r-- | 002-json-c-include.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/002-json-c-include.patch b/002-json-c-include.patch new file mode 100644 index 000000000000..72b50816f0cc --- /dev/null +++ b/002-json-c-include.patch @@ -0,0 +1,31 @@ +--- a/blobmsg_json.c ++++ b/blobmsg_json.c +@@ -17,11 +17,7 @@ + #include "blobmsg.h" + #include "blobmsg_json.h" + +-#ifdef JSONC +- #include <json.h> +-#else +- #include <json/json.h> +-#endif ++#include <json-c/json.h> + + bool blobmsg_add_object(struct blob_buf *b, json_object *obj) + { +--- a/jshn.c ++++ b/jshn.c +@@ -13,11 +13,8 @@ + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +-#ifdef JSONC +- #include <json.h> +-#else +- #include <json/json.h> +-#endif ++ ++#include <json-c/json.h> + + #include <string.h> + #include <stdlib.h> |