mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
wpa: Enclose FreeBSD specific defines
FreeBSD only defines are specific only to FreeBSD. Document them as such. It is our intention to push this change to w1.fi. MFC after: 1 week
This commit is contained in:
parent
81b521d2c0
commit
213ceba977
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#ifndef DHCP_H
|
||||
#define DHCP_H
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
/*
|
||||
* Translate Linux to FreeBSD
|
||||
*/
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
#define check ip_sum
|
||||
#define saddr ip_src
|
||||
#define daddr ip_dst
|
||||
#endif
|
||||
|
||||
#include <netinet/ip.h>
|
||||
#if __FAVOR_BSD
|
||||
|
|
|
|||
Loading…
Reference in a new issue