Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 39a674c76..88653b6e9 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -951,6 +951,8 @@ class af_unix_shmem_t
struct ucred *peer_cred () { return &_peer_cred; }
};
+#ifdef __WITH_AF_UNIX
+
class fhandler_socket_unix : public fhandler_socket
{
protected:
@@ -1110,6 +1112,8 @@ class fhandler_socket_unix : public fhandler_socket
}
};
+#endif /* __WITH_AF_UNIX */
+
class fhandler_base_overlapped: public fhandler_base
{
static HANDLE asio_done;
@@ -2631,6 +2635,9 @@ typedef union
char __serial[sizeof (fhandler_serial)];
char __socket_inet[sizeof (fhandler_socket_inet)];
char __socket_local[sizeof (fhandler_socket_local)];
+#ifdef __WITH_AF_UNIX
+ char __socket_unix[sizeof (fhandler_socket_unix)];
+#endif /* __WITH_AF_UNIX */
char __termios[sizeof (fhandler_termios)];
char __pty_common[sizeof (fhandler_pty_common)];
char __pty_slave[sizeof (fhandler_pty_slave)];