diff options
author | Mike Gilbert <floppymaster@gmail.com> | 2017-01-10 02:39:05 -0500 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2017-01-10 08:39:05 +0100 |
commit | c9f7b4d356a453a01aa77a6bb74ca7ef49732c08 (patch) | |
tree | 2a12f9a2e94d9fafe07af88d2eee2ee958f05c40 /src/login | |
parent | 64083a6078630372623bb1013a45d3bf31d8a836 (diff) | |
download | systemd-c9f7b4d356a453a01aa77a6bb74ca7ef49732c08.tar.gz |
build-sys: add check for gperf lookup function signature (#5055)
gperf-3.1 generates lookup functions that take a size_t length
parameter instead of unsigned int. Test for this at configure time.
Fixes: https://github.com/systemd/systemd/issues/5039
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.h b/src/login/logind.h index 086fa1eeb5..7556ee2e48 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -182,7 +182,7 @@ int manager_unit_is_active(Manager *manager, const char *unit); int manager_job_is_active(Manager *manager, const char *path); /* gperf lookup function */ -const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); +const struct ConfigPerfItem* logind_gperf_lookup(const char *key, GPERF_LEN_TYPE length); int manager_set_lid_switch_ignore(Manager *m, usec_t until); |