--- gettext-tiny-0.3.0_pre1/include/libintl.h.old 2018-06-21 19:55:29.646162973 -0500 +++ gettext-tiny-0.3.0_pre1/include/libintl.h 2018-06-21 19:56:16.886116203 -0500 @@ -1,6 +1,9 @@ #ifndef LIBINTL_H #define LIBINTL_H +#ifdef __cplusplus +extern "C" { +#endif char *gettext(const char *msgid); char *dgettext(const char *domainname, const char *msgid); char *dcgettext(const char *domainname, const char *msgid, int category); @@ -11,6 +14,9 @@ char *textdomain(const char *domainname); char *bind_textdomain_codeset(const char *domainname, const char *codeset); char *bindtextdomain(const char *domainname, const char *dirname); +#ifdef __cplusplus +} +#endif #undef gettext_noop #define gettext_noop(X) X