--- a/src/racoon/isakmp.c
+++ b/src/racoon/isakmp.c
@@ -31,6 +31,8 @@
  * SUCH DAMAGE.
  */
 
+#define __packed __attribute__((__packed__))
+
 #include "config.h"
 
 #include <sys/types.h>