summaryrefslogtreecommitdiffstats
path: root/libelf
diff options
context:
space:
mode:
authorYonggang Luo <[email protected]>2022-10-16 00:36:21 +0800
committerMark Wielaard <[email protected]>2022-10-16 22:36:22 +0200
commit96263dfee3591a9c732b00a33a4a221b8f01bf46 (patch)
tree53dfe9fe0d9d4b9185c98935ab6b0598a3accf6b /libelf
parenta6b2ec76d51386dd06ab86d46eabbcf5140fe80d (diff)
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 <[email protected]>
Diffstat (limited to 'libelf')
-rw-r--r--libelf/elf_error.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libelf/elf_error.c b/libelf/elf_error.c
index 5364e685..e596108d 100644
--- a/libelf/elf_error.c
+++ b/libelf/elf_error.c
@@ -32,7 +32,6 @@
#endif
#include <assert.h>
-#include <libintl.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>