>From 454fcc15f63bbf65eaa827af81d808e457ebe732 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Sat, 31 Aug 2019 12:07:43 +0200 Subject: [PATCH] Add missing header and set new gettext fields in project data --- src/ext/gnunet-ext.c | 6 ++++++ src/ext/gnunet-service-ext.c | 4 ++++ src/ext/test_ext_api.c | 4 ++++ 3 files changed, 14 insertions(+) diff --git a/src/ext/gnunet-ext.c b/src/ext/gnunet-ext.c index f18e351..00195e0 100644 --- a/src/ext/gnunet-ext.c +++ b/src/ext/gnunet-ext.c @@ -34,6 +34,10 @@ #define SOCKTYPE int #endif +#if HAVE_NETINET_IN_H +#include +#endif + #include #include #include "gnunet_ext_service.h" @@ -56,6 +60,8 @@ static const struct GNUNET_OS_ProjectData gnunetext_pd = .user_config_file = "~/.config/gnunet-ext.conf", .version = "1.0", .is_gnu = 1, + .gettext_domain = PACKAGE, + .gettext_path = NULL, }; /** diff --git a/src/ext/gnunet-service-ext.c b/src/ext/gnunet-service-ext.c index aa43933..4ebcdf2 100644 --- a/src/ext/gnunet-service-ext.c +++ b/src/ext/gnunet-service-ext.c @@ -34,6 +34,10 @@ #define SOCKTYPE int #endif +#if HAVE_NETINET_IN_H +#include +#endif + #include #include "gnunet_protocols_ext.h" diff --git a/src/ext/test_ext_api.c b/src/ext/test_ext_api.c index e69dca0..6a95d04 100644 --- a/src/ext/test_ext_api.c +++ b/src/ext/test_ext_api.c @@ -32,6 +32,10 @@ #define SOCKTYPE int #endif +#if HAVE_NETINET_IN_H +#include +#endif + #include #include "gnunet_ext_service.h" -- 2.21.0