Include "unixdef.h" instead of <sys/un.h>
This commit is contained in:
parent
5dd6a2cb14
commit
fe2c59b53a
2 changed files with 2 additions and 3 deletions
|
@ -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) */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue