tags 451435 patch
user [EMAIL PROTECTED]
usertags 451435 ubuntu-patch hardy
thanks

Hi Alexander,

The attached patch works around the conflict between the linux/types.h and
sys/types.h headers and lets keepalived build.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[EMAIL PROTECTED]                                     [EMAIL PROTECTED]
--- keepalived-1.1.12.orig/keepalived/vrrp/vrrp_arp.c

+++ keepalived-1.1.12/keepalived/vrrp/vrrp_arp.c

@@ -22,6 +22,9 @@

  * Copyright (C) 2001-2006 Alexandre Cassen, <[EMAIL PROTECTED]>

  */

 

+/* Work around incompatibility between linux/types.h and sys/types.h */

+#define __KERNEL_STRICT_NAMES

+

 /* system includes */

 #include <linux/if_packet.h>

 

Reply via email to