summaryrefslogtreecommitdiff
path: root/src/shared/copy.h
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-10-12 17:59:03 +0200
committerTom Gundersen <teg@jklm.no>2014-10-31 10:57:21 +0100
commit81a12ba6ec2f8514b7d35f0c39a96cc74bb14019 (patch)
treea564f07e3b09a9c881ac83678e19d53dcf2b83b2 /src/shared/copy.h
parent7bd57a87aded06c9812119c4f99d4c22e35e77be (diff)
shared: add missing includes
Diffstat (limited to 'src/shared/copy.h')
-rw-r--r--src/shared/copy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/copy.h b/src/shared/copy.h
index 0bf2598f60..6b93107fab 100644
--- a/src/shared/copy.h
+++ b/src/shared/copy.h
@@ -21,6 +21,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+#include <sys/types.h>
+
int copy_file(const char *from, const char *to, int flags, mode_t mode);
int copy_tree(const char *from, const char *to, bool merge);
int copy_bytes(int fdf, int fdt, off_t max_bytes);