1
0
mirror of https://code.semirocket.science/wrapsix synced 2024-12-22 04:20:18 +02:00

Conditional fix for compilation in older envs

This commit is contained in:
Michal Zima 2013-02-13 14:43:07 +01:00
parent 958a177c3c
commit 746712c6de

View File

@ -1,6 +1,6 @@
/*
* WrapSix
* Copyright (C) 2008-2011 Michal Zima <xhire@mujmalysvet.cz>
* Copyright (C) 2008-2013 Michal Zima <xhire@mujmalysvet.cz>
*
* 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];