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

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



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 ubuntu com>
##
## 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


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