summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i18n.h3
-rw-r--r--src/local.mk1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/i18n.h b/src/i18n.h
new file mode 100644
index 0000000..fbe5186
--- /dev/null
+++ b/src/i18n.h
@@ -0,0 +1,3 @@
+#include <libintl.h>
+
+#define _(msgid) gettext(msgid)
diff --git a/src/local.mk b/src/local.mk
index 808322f..e26508f 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -2,6 +2,7 @@ opkg_opk_SOURCES += \
%reldir%/defs.h \
%reldir%/gzip.c \
%reldir%/gzip.h \
+ %reldir%/i18n.h \
%reldir%/main.c \
%reldir%/opk.c \
%reldir%/opk.h \