From: xie xingguo Date: Tue, 9 Aug 2016 08:34:21 +0000 (+0800) Subject: libcephfs: kill compiling warning X-Git-Tag: ses5-milestone5~174^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F10622%2Fhead;p=ceph.git libcephfs: kill compiling warning As below: /home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: ‘struct flock’ declared inside parameter list [enabled by default] Fh *fh, struct flock *fl, uint64_t owner); ^ /home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1501:20: warning: ‘struct flock’ declared inside parameter list [enabled by default] Fh *fh, struct flock *fl, uint64_t owner, int sleep); Signed-off-by: xie xingguo --- diff --git a/src/include/cephfs/libcephfs.h b/src/include/cephfs/libcephfs.h index 0b8709f419e6..491fd658ba63 100644 --- a/src/include/cephfs/libcephfs.h +++ b/src/include/cephfs/libcephfs.h @@ -25,6 +25,7 @@ #include #include #include +#include #ifdef __cplusplus extern "C" {