aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2017-09-14 21:51:29 -0500
committerEric Sandeen <sandeen@redhat.com>2017-09-14 21:51:29 -0500
commitce8b0060d8d95cf6a63dc7600b7c19a806320380 (patch)
tree1762c78de5e989b8c68559c2405c417a025f7224
parent55b0f0ec7cd8d00931abcfe6c32585f355a26f45 (diff)
downloadxfsdump-dev-ce8b0060d8d95cf6a63dc7600b7c19a806320380.tar.gz
common/main.c: Include <locale.h>
This fixes a compilation error with musl libc, and is required according to POSIX to expose LC_ALL and getlocale(). Signed-off-by: Felix Janda <felix.janda@posteo.de> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r--common/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 49dd3616..d3bdcf32 100644
--- a/common/main.c
+++ b/common/main.c
@@ -37,6 +37,7 @@
#include <assert.h>
#include <string.h>
#include <uuid/uuid.h>
+#include <locale.h>
#include "config.h"