projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resetting manifest requested domain to floor
[platform/upstream/btrfs-progs.git]
/
send-stream.h
diff --git
a/send-stream.h
b/send-stream.h
index
bedff4d
..
39901f8
100644
(file)
--- 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.
*/
* 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
/*
* NOTE: this file is public API, any incompatible change has to update
@@
-27,6
+28,12
@@
extern "C" {
#endif
extern "C" {
#endif
+#if BTRFS_FLAT_INCLUDES
+#include "kerncompat.h"
+#else
+#include <btrfs/kerncompat.h>
+#endif /* BTRFS_FLAT_INCLUDES */
+
struct btrfs_send_ops {
int (*subvol)(const char *path, const u8 *uuid, u64 ctransid,
void *user);
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
-#endif
/* SEND_STREAM_H_ */
+#endif