projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move -lssp to LIBS.
[tinc]
/
src
/
ipv4.h
diff --git
a/src/ipv4.h
b/src/ipv4.h
index
1e34ccb
..
708e5c1
100644
(file)
--- a/
src/ipv4.h
+++ b/
src/ipv4.h
@@
-21,6
+21,8
@@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "system.h"
+
#ifndef AF_INET
#define AF_INET 2
#endif
#ifndef AF_INET
#define AF_INET 2
#endif
@@
-81,7
+83,7
@@
struct ip {
uint8_t ip_p;
uint16_t ip_sum;
struct in_addr ip_src, ip_dst;
uint8_t ip_p;
uint16_t ip_sum;
struct in_addr ip_src, ip_dst;
-} __attribute__((__gcc_struct__
,
__packed__));
+} __attribute__((__gcc_struct__
)) __attribute((
__packed__));
#endif
#ifndef IP_OFFMASK
#endif
#ifndef IP_OFFMASK
@@
-143,7
+145,7
@@
struct icmp {
#define icmp_radv icmp_dun.id_radv
#define icmp_mask icmp_dun.id_mask
#define icmp_data icmp_dun.id_data
#define icmp_radv icmp_dun.id_radv
#define icmp_mask icmp_dun.id_mask
#define icmp_data icmp_dun.id_data
-} __attribute__((__gcc_struct__
,
__packed__));
+} __attribute__((__gcc_struct__
)) __attribute((
__packed__));
#endif
#endif
#endif
#endif