From 746712c6dead1e37e2bf2c572aa72fbaec7d31ec Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Wed, 13 Feb 2013 14:43:07 +0100 Subject: [PATCH] Conditional fix for compilation in older envs --- src/ethernet.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ethernet.h b/src/ethernet.h index 410fb1e..1f6eb31 100644 --- a/src/ethernet.h +++ b/src/ethernet.h @@ -1,6 +1,6 @@ /* * WrapSix - * Copyright (C) 2008-2011 Michal Zima + * Copyright (C) 2008-2013 Michal Zima * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,6 +19,10 @@ #ifndef ETHERNET_H #define ETHERNET_H +#ifndef ETHERTYPE_IPV6 +#define ETHERTYPE_IPV6 0x86dd +#endif /* ETHERTYPE_IPV6 */ + /* MAC address structure */ struct s_mac_addr { unsigned char addr[6];