Re: [PATCH] add syscall missing includes in rgmanager/src/clulib/gettid.c

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

 



Fabio Massimo Di Nitto wrote:
> Hi guys,
>    patch is pretty self-explanatory, when we did change the way in which we use
> syscall, we forgot to add the relevant includes.
> Patch is against the STABLE branch, but i am pretty sure it applies all over.
> As a consequence it also shuts up a warning a build time.
> 
> Please apply.
> 
> Cheers
> Fabio

whops.. wrong patch.. sorry.. here is the good one..

Fabio

-- 
no signature file found.
#! /bin/sh /usr/share/dpatch/dpatch-run
## add_missing_syscall_include.dpatch by  <fabbione@xxxxxxxxxxxxxxxxxxxxx>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./rgmanager/src/clulib/gettid.c /usr/src/dpatchtemp/dpep-work.JDJ8Uk/redhat-cluster-suite-1.20050706/rgmanager/src/clulib/gettid.c
--- ./rgmanager/src/clulib/gettid.c	2005-06-21 20:07:33.000000000 +0200
+++ /usr/src/dpatchtemp/dpep-work.JDJ8Uk/redhat-cluster-suite-1.20050706/rgmanager/src/clulib/gettid.c	2005-07-06 06:40:22.000000000 +0200
@@ -1,7 +1,9 @@
 #include <sys/types.h>
+#include <sys/syscall.h>
 #include <linux/unistd.h>
 #include <gettid.h>
 #include <errno.h>
+#include <unistd.h>
 
 /* Patch from Adam Conrad / Ubuntu: Don't use _syscall macro */
 
--

Linux-cluster@xxxxxxxxxx
http://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