summaryrefslogtreecommitdiff
path: root/getservinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'getservinfo.c')
-rw-r--r--getservinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/getservinfo.c b/getservinfo.c
index 4bc4b34..6366316 100644
--- a/getservinfo.c
+++ b/getservinfo.c
@@ -25,13 +25,13 @@
* covered work.
*/
-#include <netdb.h>
#include <netinet/in.h>
#include <resolv.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <netdb.h>
#ifndef EAI_BADHINTS
#define EAI_BADHINTS EAI_BADFLAGS