X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keydb%2Fkeydb_pg.c;fp=keydb%2Fkeydb_pg.c;h=c8392f721b9460800b73867c1189f63d4933313e;hb=9d8830c7ea9fd00ded77072cdfd333c5c4e39813;hp=1b58c1a5f27c71f1788c1e7783e70aa60df7b77a;hpb=c0fee41b459cc3822d890bac98882a6c9696c033;p=onak.git diff --git a/keydb/keydb_pg.c b/keydb/keydb_pg.c index 1b58c1a..c8392f7 100644 --- a/keydb/keydb_pg.c +++ b/keydb/keydb_pg.c @@ -28,6 +28,7 @@ #include #include +#include "build-config.h" #include "hash.h" #include "keydb.h" #include "keyid.h" @@ -671,7 +672,8 @@ static void pg_cleanupdb(struct onak_dbctx *dbctx) * this file are called in order to allow the DB to be initialized ready * for access. */ -struct onak_dbctx *keydb_pg_init(struct onak_db_config *dbcfg, bool readonly) +struct onak_dbctx *keydb_pg_init(struct onak_db_config *dbcfg, + __unused bool readonly) { struct onak_dbctx *dbctx; PGconn *dbconn;