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

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



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 localhost localdomain>
##
## 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 */
 

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