commit | 2db368ee8d440312dd0a7481e9b9e30d2921096c | [log] [tgz] |
---|---|---|
author | Tobias Engel <t-openbsc@tobias.org> | Wed Oct 24 17:52:51 2012 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Sat Oct 27 10:03:11 2012 +0200 |
tree | 62767a0d77a18156eb47b8de3639c1d69263b76b | |
parent | 8ec7f901bb1843b7c29335d5ea0531e7a1527210 [diff] |
Define struct iphdr for OSX Use FreeBSD struct iphdr definition for OSX also. From the commentary in the source file: On BSD the IPv4 struct is called struct ip and instead of iXX the members are called ip_XX. One could change this code to use struct ip but that would require to define _BSD_SOURCE and that might have other complications. Instead make sure struct iphdr is present on FreeBSD.