Include "unixdef.h" instead of <sys/un.h>

This commit is contained in:
Miku AuahDark 2022-12-28 14:39:02 +08:00
parent 5dd6a2cb14
commit fe2c59b53a
No known key found for this signature in database
GPG Key ID: EFB853D1AB989C18
2 changed files with 2 additions and 3 deletions

View File

@ -8,12 +8,11 @@
#include "socket.h"
#include "options.h"
#include "unix.h"
#include "unixdef.h"
#include <string.h>
#include <stdlib.h>
#include <sys/un.h>
#define UNIXDGRAM_DATAGRAMSIZE 8192
/* provide a SUN_LEN macro if sys/un.h doesn't (e.g. Android) */

View File

@ -7,10 +7,10 @@
#include "auxiliar.h"
#include "socket.h"
#include "options.h"
#include "unixdef.h"
#include "unixstream.h"
#include <string.h>
#include <sys/un.h>
/*=========================================================================*\
* Internal function prototypes