From: Danilo Spinella Date: Mon, 11 Jun 2018 21:10:36 +0000 (+0200) Subject: Add locale.h header, needed by freelocale() X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=45bfc1484277b6dfef30aaec79edaef4a998e29a;p=elogind.git Add locale.h header, needed by freelocale() Without locale.h, there is an implicit declaration of function `freelocale`, which is reported as error by -Werror=implicit-function-declaration. --- diff --git a/src/basic/locale-util.h b/src/basic/locale-util.h index 4542770b1..f75dcbc3d 100644 --- a/src/basic/locale-util.h +++ b/src/basic/locale-util.h @@ -22,7 +22,7 @@ #include #include -//#include +#include #include "macro.h"