diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2014-10-12 17:59:03 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-10-31 10:57:21 +0100 |
commit | 81a12ba6ec2f8514b7d35f0c39a96cc74bb14019 (patch) | |
tree | a564f07e3b09a9c881ac83678e19d53dcf2b83b2 /src | |
parent | 7bd57a87aded06c9812119c4f99d4c22e35e77be (diff) |
shared: add missing includes
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/copy.h | 3 | ||||
-rw-r--r-- | src/shared/locale-util.h | 4 |
2 files changed, 7 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); diff --git a/src/shared/locale-util.h b/src/shared/locale-util.h index d7a3e4fae6..e48aa3d9af 100644 --- a/src/shared/locale-util.h +++ b/src/shared/locale-util.h @@ -21,6 +21,10 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include <stdbool.h> + +#include "macro.h" + typedef enum LocaleVariable { /* We don't list LC_ALL here on purpose. People should be * using LANG instead. */ |