[PATCH] Fix fence/agents/xvm/ip_lookup.c build with 2.6.19 headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi guys,

2.6.19 headers did shuffle a couple of things around. The patch in attachment
fix the build maintaining backward compatibility with older kernel headers.

Please apply.

Thanks
Fabio

-- 
I'm going to make him an offer he can't refuse.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 000_linux_2.6.19.dpatch by  <fabbione@xxxxxxxxxx>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad redhat-cluster-suite-2.20061101~/fence/agents/xvm/ip_lookup.c redhat-cluster-suite-2.20061101/fence/agents/xvm/ip_lookup.c
--- redhat-cluster-suite-2.20061101~/fence/agents/xvm/ip_lookup.c	2006-10-05 18:11:36.000000000 +0200
+++ redhat-cluster-suite-2.20061101/fence/agents/xvm/ip_lookup.c	2006-11-01 07:56:18.000000000 +0100
@@ -32,6 +32,10 @@
 #include <stdlib.h>
 #include <netdb.h>
 
+#ifndef IFA_MAX
+#include <linux/if_addr.h>
+#endif
+
 /* Local includes */
 #include "ip_lookup.h"
 

Attachment: signature.asc
Description: OpenPGP digital signature

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux