mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-04 21:04:18 +01:00
networking code fixes
This commit is contained in:
@@ -53,13 +53,13 @@
|
||||
# define SHUT_RDWR 2
|
||||
#endif
|
||||
|
||||
/* for SunOS */
|
||||
/* For SunOS */
|
||||
#ifndef SA_RESTART
|
||||
# define SA_RESTART 0
|
||||
#endif
|
||||
|
||||
/* For some Solaris systems */
|
||||
#if !defined(HAVE_INET_ATON) && !defined(INADDR_NONE)
|
||||
/* For Solaris */
|
||||
#ifndef INADDR_NONE
|
||||
# define INADDR_NONE (-1)
|
||||
#endif
|
||||
|
||||
@@ -79,8 +79,6 @@
|
||||
|
||||
int WCErrorCode = 0;
|
||||
|
||||
|
||||
|
||||
static Bool SigInitialized = False;
|
||||
|
||||
|
||||
@@ -91,7 +89,6 @@ typedef struct TimeoutData {
|
||||
} TimeoutData;
|
||||
|
||||
|
||||
|
||||
typedef struct W_Connection {
|
||||
int sock; /* the socket we speak through */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user