diff options
Diffstat (limited to 'lib/sockunion.h')
| -rw-r--r-- | lib/sockunion.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sockunion.h b/lib/sockunion.h index 105b11a24c..abad43122e 100644 --- a/lib/sockunion.h +++ b/lib/sockunion.h @@ -25,12 +25,18 @@ #include "privs.h" #include "if.h" +#if defined HAVE_MPLS && defined __OpenBSD__ +#include <netmpls/mpls.h> +#endif union sockunion { struct sockaddr sa; struct sockaddr_in sin; struct sockaddr_in6 sin6; +#if defined HAVE_MPLS && defined __OpenBSD__ + struct sockaddr_mpls smpls; +#endif }; enum connect_result |
