vfs_glusterfs: include glusterfs/api/glfs.h without relying on -I options
authorNiels de Vos <ndevos@redhat.com>
Tue, 31 Oct 2017 14:52:49 +0000 (15:52 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 9 Nov 2017 21:37:30 +0000 (22:37 +0100)
commit732ba3c84a2d40040550ea36b0478dd6af9a173a
tree59f8c0415720cd46f51878f21f15db0977aa22de
parent7470b9b18af282a742929d3fc90f4be5520428a1
vfs_glusterfs: include glusterfs/api/glfs.h without relying on -I options

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13125

The glfs.h header file has always resided under glusterfs/api/ in the
standard include directory. The glusterfs-api.pc file adds the unneeded
-I${includedir}/glusterfs compiler option. This option will be removed
from future versions of the pkg-config file.

This change can safely be backported to older versions if there is a
need to have them build against glusterfs-3.13 or newer.

URL: https://review.gluster.org/18576
CC: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Thu Nov  9 22:37:30 CET 2017 on sn-devel-144
source3/modules/vfs_glusterfs.c
source3/wscript