X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=send-stream.h;h=39901f86b615837c4217fff90c83c1c910367b09;hb=669ba89e52945e26528d498221c8ecd576b10d2d;hp=bedff4d0422c81062d8c2d76e228afd76f44aeb0;hpb=68b50d43c0bcaab3fb110b2213aef229d68532d3;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/send-stream.h b/send-stream.h index bedff4d..39901f8 100644 --- a/send-stream.h +++ b/send-stream.h @@ -15,8 +15,9 @@ * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 021110-1307, USA. */ -#ifndef SEND_STREAM_H_ -#define SEND_STREAM_H_ + +#ifndef __BTRFS_SEND_STREAM_H__ +#define __BTRFS_SEND_STREAM_H__ /* * NOTE: this file is public API, any incompatible change has to update @@ -27,6 +28,12 @@ extern "C" { #endif +#if BTRFS_FLAT_INCLUDES +#include "kerncompat.h" +#else +#include +#endif /* BTRFS_FLAT_INCLUDES */ + struct btrfs_send_ops { int (*subvol)(const char *path, const u8 *uuid, u64 ctransid, void *user); @@ -70,4 +77,4 @@ int btrfs_read_and_process_send_stream(int fd, } #endif -#endif /* SEND_STREAM_H_ */ +#endif