aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libevent/ipv6-internal.h
diff options
context:
space:
mode:
authorkikht <kikht@yandex-team.ru>2022-02-10 16:45:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:14 +0300
commit778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/libevent/ipv6-internal.h
parent194cae0e8855b11be2005e1eff12c660c3ee9774 (diff)
downloadydb-778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5.tar.gz
Restoring authorship annotation for <kikht@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/libevent/ipv6-internal.h')
-rw-r--r--contrib/libs/libevent/ipv6-internal.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/libs/libevent/ipv6-internal.h b/contrib/libs/libevent/ipv6-internal.h
index b619ffff4e..0c207377b8 100644
--- a/contrib/libs/libevent/ipv6-internal.h
+++ b/contrib/libs/libevent/ipv6-internal.h
@@ -27,14 +27,14 @@
/* Internal use only: Fake IPv6 structures and values on platforms that
* do not have them */
-#ifndef IPV6_INTERNAL_H_INCLUDED_
-#define IPV6_INTERNAL_H_INCLUDED_
+#ifndef IPV6_INTERNAL_H_INCLUDED_
+#define IPV6_INTERNAL_H_INCLUDED_
+
+#include "event2/event-config.h"
+#include "evconfig-private.h"
-#include "event2/event-config.h"
-#include "evconfig-private.h"
-
#include <sys/types.h>
-#ifdef EVENT__HAVE_SYS_SOCKET_H
+#ifdef EVENT__HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include "event2/util.h"
@@ -49,17 +49,17 @@ extern "C" {
* properly.
*/
-#ifndef EVENT__HAVE_STRUCT_IN6_ADDR
+#ifndef EVENT__HAVE_STRUCT_IN6_ADDR
struct in6_addr {
ev_uint8_t s6_addr[16];
};
#endif
-#ifndef EVENT__HAVE_SA_FAMILY_T
+#ifndef EVENT__HAVE_SA_FAMILY_T
typedef int sa_family_t;
#endif
-#ifndef EVENT__HAVE_STRUCT_SOCKADDR_IN6
+#ifndef EVENT__HAVE_STRUCT_SOCKADDR_IN6
struct sockaddr_in6 {
/* This will fail if we find a struct sockaddr that doesn't have
* sa_family as the first element. */