]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socket.h
Fix warnings from Doxygen.
[user/henk/code/inspircd.git] / include / socket.h
index 6e9a2051840a558328bedc8b75aa9ed806329ceb..47e89070f0fb034dc21f165c3050e2a3501bfbe4 100644 (file)
@@ -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 */