Skip to content

Commit

Permalink
libwtmpdb: always define varlink checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thkukuk committed Jan 8, 2025
1 parent 0fb8b3b commit 7479582
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/libwtmpdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include "wtmpdb.h"
#include "sqlite.h"

#if WITH_WTMPDBD
#include "varlink.h"

static int varlink_is_active = 1;
Expand All @@ -52,8 +51,6 @@ static int varlink_is_enforced = 0;

#define VARLINK_IS_NOT_RUNNING(r) (r == -ECONNREFUSED || r == -ENOENT || r == -ECONNRESET)

#endif

/*
Add new wtmp entry to db.
login timestamp is in usec.
Expand Down

0 comments on commit 7479582

Please sign in to comment.