diff options
author | Daniel Verite <[email protected]> | 2012-06-08 22:30:39 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-06-11 10:21:40 -0700 |
commit | 92e91da20839ee50536223bedf2ba4fb7d2fae71 (patch) | |
tree | be0f30814e5fe7cadf1bd29e686e2fb213a6a175 /lib | |
parent | 6a0936babc14a44986265a12f206c41999bd48c3 (diff) |
Include <locale.h> to avoid error: 'LC_ALL' undeclared.
When compiling ZFS with CFLAGS=-O0 it will trigger the following error.
Resolve the issue by properly including locale.h.
../../cmd/mount_zfs/mount_zfs.c: In function 'main':
../../cmd/mount_zfs/mount_zfs.c:318:2: warning: implicit declaration
of function 'setlocale' [-Wimplicit-function-declaration]
../../cmd/mount_zfs/mount_zfs.c:318:19: error: 'LC_ALL' undeclared
(first use in this function)
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #724
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions