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

[Linux-cluster] [PATCH] Fix build failure for gettid.c



diff -urNad --exclude=CVS --exclude=.svn ./rgmanager/src/clulib/gettid.c
/usr/src/dpatchtemp/dpep-work.JDJ8Uk/redhat-cluster-suite-1.20050706/rgmanager/src/c
lulib/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 */


This applies to the above in the STABLE branch and HEAD. The same fix needs to
be propagated to cman/qdisk/gettid.c for HEAD (yay for duplicate code ;)).

Fabio

-- 
I'm going to make him an offer he can't refuse.


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