diff options
Diffstat (limited to 'include/socket.h')
-rw-r--r-- | include/socket.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index 6e9a20518..47e89070f 100644 --- a/include/socket.h +++ b/include/socket.h @@ -32,6 +32,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/un.h> #include <netinet/in.h> #include <unistd.h> #include <fcntl.h> @@ -59,6 +60,7 @@ namespace irc struct sockaddr sa; struct sockaddr_in in4; struct sockaddr_in6 in6; + struct sockaddr_un un; /** Return the family of the socket (e.g. AF_INET). */ int family() const; /** Return the size of the structure for syscall passing */ |