diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-07 16:15:59 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-08-07 16:15:59 +0200 |
commit | f695a79d9b7ab2bf2709bad5fea6cc2a2d0c50c3 (patch) | |
tree | f24ed469cfa3f6280440277be1c68d9976213c2c /src/plugins/irc/irc-server.c | |
parent | eee11972f7d8964266314a09537414ad37a78ccb (diff) | |
download | weechat-f695a79d9b7ab2bf2709bad5fea6cc2a2d0c50c3.zip |
core, irc, xfer: add missing includes for function res_init()
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r-- | src/plugins/irc/irc-server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index a2ec91220..20e40f02f 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -38,9 +38,10 @@ #endif /* _WIN32 */ #include <sys/types.h> #include <netdb.h> -#include <resolv.h> #include <arpa/inet.h> #include <netinet/in.h> +#include <arpa/nameser.h> +#include <resolv.h> #ifdef HAVE_GNUTLS #include <gnutls/gnutls.h> |