From: Mike Gilbert Date: Tue, 10 Jan 2017 07:39:05 +0000 (-0500) Subject: build-sys: add check for gperf lookup function signature (#5055) X-Git-Tag: v233.3~102 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bbab4cb0797329f2b254100337a891f5849bb17a;p=elogind.git 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/elogind/elogind/issues/5039 --- diff --git a/src/login/logind.h b/src/login/logind.h index 9be29ab28..8f6fb72db 100644 --- a/src/login/logind.h +++ b/src/login/logind.h @@ -47,7 +47,6 @@ typedef struct Manager Manager; #define MANAGER_IS_SYSTEM(m) ((m)->is_system) #define MANAGER_IS_USER(m) (!((m)->is_system)) #endif // 1 - struct Manager { sd_event *event; sd_bus *bus;