]> granicus.if.org Git - libevent/commitdiff
be: fix sockaddr_in6 type definition for win32
authorAzat Khuzhin <a3at.mail@gmail.com>
Wed, 19 Aug 2015 19:52:22 +0000 (22:52 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 19 Aug 2015 19:52:22 +0000 (22:52 +0300)
bufferevent-internal.h:217:23: error: field 'in6' has incomplete type
   struct sockaddr_in6 in6;
                       ^
CI: https://ci.appveyor.com/project/nmathewson/libevent/build/2.1.5.108

bufferevent-internal.h

index fb5e6a695c995e02cf27cc9848eaaf482fcced22..cb30b4219e8e221e4d7415e45ac4840b4ecab20f 100644 (file)
@@ -39,6 +39,7 @@ extern "C" {
 #include "event2/thread.h"
 #include "ratelim-internal.h"
 #include "event2/bufferevent_struct.h"
+#include "ipv6-internal.h"
 
 /* These flags are reasons that we might be declining to actually enable
    reading or writing on a bufferevent.