currently the path to the (included) uthash.h header is hardcoded in ./src/json-encode.c resp. ./src/urlparams.c:
#include "uthash/src/uthash.h"
this makes it hard to use an uthash implementation that lives in a different place. (e.g. when building from the tarballs (which lack the git submodule) and using e.g. the Debian-provided package uthash-dev)
a more generic approach would be to use:
#include "uthash.h"
in the source-code and add the path to the build-flags (in Makefile):
currently the path to the (included)
uthash.h
header is hardcoded in./src/json-encode.c
resp../src/urlparams.c
:this makes it hard to use an uthash implementation that lives in a different place. (e.g. when building from the tarballs (which lack the git submodule) and using e.g. the Debian-provided package
uthash-dev
)a more generic approach would be to use:
in the source-code and add the path to the build-flags (in
Makefile
):