[sheepdog] [PATCH] accord-driver: fix header location

Yunkai Zhang yunkai.me at gmail.com
Tue May 29 12:20:46 CEST 2012


I had submitted a patch also relate to accord, but no one review it:
http://lists.wpkg.org/pipermail/sheepdog/2012-January/002476.html

On Tue, May 29, 2012 at 5:14 PM, Christoph Hellwig <hch at infradead.org> wrote:
> It seems like accord install accord.h directly into the include directory,
> not into a separate subdirectory.
>
> If anyone installs the headers into the sudirectory the code after this patch
> can still compile by using the right include path.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
>
> diff --git a/sheep/cluster/accord.c b/sheep/cluster/accord.c
> index 63911d5..dbbeab2 100644
> --- a/sheep/cluster/accord.c
> +++ b/sheep/cluster/accord.c
> @@ -17,7 +17,7 @@
>  #include <pthread.h>
>  #include <sys/epoll.h>
>  #include <sys/eventfd.h>
> -#include <accord/accord.h>
> +#include <accord.h>
>
>  #include "cluster.h"
>  #include "event.h"
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog



-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list