summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-07-04 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-07-04 08:00:00 +0800
commit60758b28689fd58519fd7eaad7cef79205ae48c3 (patch)
tree71dcbf9d5715b3d30f2459b9f4b0374a66727747
parentFork initialization (diff)
downloadnotemaprx-master.tar.gz
notemaprx-master.zip
getservinfo.c: move netdb.h downHEADmaster
-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