summaryrefslogtreecommitdiff
path: root/debuginfod
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2022-10-16 00:36:21 +0800
committerMark Wielaard <mark@klomp.org>2022-10-16 22:36:22 +0200
commit96263dfee3591a9c732b00a33a4a221b8f01bf46 (patch)
tree53dfe9fe0d9d4b9185c98935ab6b0598a3accf6b /debuginfod
parenta6b2ec76d51386dd06ab86d46eabbcf5140fe80d (diff)
downloadelfutils-96263dfee3591a9c732b00a33a4a221b8f01bf46.tar.gz
Move the #include <libintl.h> into eu-config.h
So we do not need include in each file. And indeed the macro #define _(Str) dgettext ("elfutils", Str) access libintl function dgettext, so it's make more sense #include <libintl.h> in file eu-config.h Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Diffstat (limited to 'debuginfod')
-rw-r--r--debuginfod/debuginfod.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 000a41c4..8e7ee499 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -47,7 +47,6 @@ extern "C" {
#include <unistd.h>
#include <stdlib.h>
-#include <libintl.h>
#include <locale.h>
#include <pthread.h>
#include <signal.h>