summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2019-12-29 11:08:34 -0800
committerGarrett D'Amore <garrett@damore.org>2019-12-29 11:08:34 -0800
commit0f9c13c44ce56294c78f8aeff89beb8c6f799ada (patch)
treec5f04efde290d1c62da54ef620e405eed4b25077
parent1a9b1a0ad3e1e98a307c8a99211ebc3a94b4ac3e (diff)
downloadnng-0f9c13c44ce56294c78f8aeff89beb8c6f799ada.tar.gz
nng-0f9c13c44ce56294c78f8aeff89beb8c6f799ada.tar.bz2
nng-0f9c13c44ce56294c78f8aeff89beb8c6f799ada.zip
Remove some unused includes from POSIX resolver.
-rw-r--r--src/platform/posix/posix_resolv_gai.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/platform/posix/posix_resolv_gai.c b/src/platform/posix/posix_resolv_gai.c
index aa70a916..1d7b7e5b 100644
--- a/src/platform/posix/posix_resolv_gai.c
+++ b/src/platform/posix/posix_resolv_gai.c
@@ -12,19 +12,13 @@
#ifdef NNG_USE_POSIX_RESOLV_GAI
-#include <arpa/inet.h>
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
-#include <sys/types.h>
-#include <sys/uio.h>
#include <sys/un.h>
-#include <unistd.h>
// We use a single resolver taskq - but we allocate a few threads
// for it to ensure that names can be looked up concurrently. This isn't