summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/patches/patch-src_racoon_isakmp_c
blob: fdf5356fccb4f3ecfbe1c0b155952ec3e9091d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- ipsec-tools-0.8.0.orig/src/racoon/isakmp.c	2011-03-15 14:20:14.000000000 +0100
+++ ipsec-tools-0.8.0/src/racoon/isakmp.c	2011-08-24 18:48:47.887978959 +0200
@@ -33,6 +33,10 @@
 
 #include "config.h"
 
+#ifndef __packed
+#define __packed __attribute__((packed))
+#endif
+
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/socket.h>
@@ -130,6 +134,7 @@
 #  define SOL_UDP IPPROTO_UDP
 # endif /* __NetBSD__ / __FreeBSD__ */
 
+
 static int nostate1 __P((struct ph1handle *, vchar_t *));
 static int nostate2 __P((struct ph2handle *, vchar_t *));