From fe2c59b53aacfb060d9a6efe9d23ae23cdfcb536 Mon Sep 17 00:00:00 2001 From: Miku AuahDark Date: Wed, 28 Dec 2022 14:39:02 +0800 Subject: [PATCH] Include "unixdef.h" instead of --- src/unixdgram.c | 3 +-- src/unixstream.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/unixdgram.c b/src/unixdgram.c index 69093d7..0fc5dd0 100644 --- a/src/unixdgram.c +++ b/src/unixdgram.c @@ -8,12 +8,11 @@ #include "socket.h" #include "options.h" #include "unix.h" +#include "unixdef.h" #include #include -#include - #define UNIXDGRAM_DATAGRAMSIZE 8192 /* provide a SUN_LEN macro if sys/un.h doesn't (e.g. Android) */ diff --git a/src/unixstream.c b/src/unixstream.c index 02aced9..796d313 100644 --- a/src/unixstream.c +++ b/src/unixstream.c @@ -7,10 +7,10 @@ #include "auxiliar.h" #include "socket.h" #include "options.h" +#include "unixdef.h" #include "unixstream.h" #include -#include /*=========================================================================*\ * Internal function prototypes