summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_ctldir.c
diff options
context:
space:
mode:
authorDaniel Verite <[email protected]>2012-06-08 22:30:39 +0200
committerBrian Behlendorf <[email protected]>2012-06-11 10:21:40 -0700
commit92e91da20839ee50536223bedf2ba4fb7d2fae71 (patch)
treebe0f30814e5fe7cadf1bd29e686e2fb213a6a175 /module/zfs/zfs_ctldir.c
parent6a0936babc14a44986265a12f206c41999bd48c3 (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 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions