telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit e033f89b4e73e3a36c9939fef25051189234175f
parent a500a52ea3f3d068cdfb6f00a1470d57f92c1c96
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri,  5 Oct 2018 09:00:13 +0200

Add <maxminddb.h> header and link against libmaxminddb

Diffstat:
Mconf/build.conf | 2+-
Msrc/location.c | 1+
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/conf/build.conf b/conf/build.conf @@ -12,7 +12,7 @@ cflags=-Wall -Wmissing-declarations -Wshadow cflags=-Wstrict-prototypes -Wmissing-prototypes cflags=-Wpointer-arith -Wcast-qual -Wsign-compare -ldflags=-L/usr/local/lib -ljansson +ldflags=-L/usr/local/lib -ljansson -lmaxminddb cxxflags=-Wall -Wmissing-declarations -Wshadow cxxflags=-Wpointer-arith -Wcast-qual -Wsign-compare diff --git a/src/location.c b/src/location.c @@ -18,6 +18,7 @@ #include <kore/http.h> #include <jansson.h> +#include <maxminddb.h> int location(struct http_request *);