diff --git a/Makefile b/Makefile index fb2baaf..7256fd3 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ ocat: ocat.o $(OTR_OBJS) $(OTR_OBJS): config.mk Makefile -recorder.o: recorder.c storage.h util.h Makefile geo.h udata.h json.h http.h gcache.h config.mk hooks.h base64.h +recorder.o: recorder.c storage.h util.h Makefile geo.h udata.h json.h http.h gcache.h config.mk hooks.h base64.h version.h geo.o: geo.h geo.c udata.h geohash.o: geohash.h geohash.c udata.h base64.o: base64.h base64.c diff --git a/recorder.c b/recorder.c index a280d16..54b0636 100644 --- a/recorder.c +++ b/recorder.c @@ -50,6 +50,7 @@ #if WITH_ENCRYPT # include #endif +#include "version.h" #define SSL_VERIFY_PEER (1) @@ -1579,7 +1580,7 @@ int main(int argc, char **argv) udata.mgserver = mg_create_server(ud, ev_handler); } #endif - olog(LOG_DEBUG, "starting with STORAGEDIR=%s", STORAGEDIR); + olog(LOG_DEBUG, "version %s starting with STORAGEDIR=%s", VERSION, STORAGEDIR); if (ud->revgeo == TRUE) { #ifdef WITH_LMDB