chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb9555
)
Add locale.h header, needed by freelocale()
author
Danilo Spinella
<danyspin97@protonmail.com>
Mon, 11 Jun 2018 21:10:36 +0000
(23:10 +0200)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 22 Jun 2018 06:47:06 +0000
(08:47 +0200)
Without locale.h, there is an implicit declaration of function `freelocale`,
which is reported as error by -Werror=implicit-function-declaration.
src/basic/locale-util.h
patch
|
blob
|
history
diff --git
a/src/basic/locale-util.h
b/src/basic/locale-util.h
index 4542770b15758629ef26673cfb5a1999aaf11f23..f75dcbc3d1bd2e2c091c0ca4241c5873ce1354d4 100644
(file)
--- a/
src/basic/locale-util.h
+++ b/
src/basic/locale-util.h
@@
-22,7
+22,7
@@
#include <libintl.h>
#include <stdbool.h>
-
//
#include <locale.h>
+#include <locale.h>
#include "macro.h"