[PATCH] Fix build failure for gettid.c

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

 



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.

--

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