1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

shared: add missing includes

This commit is contained in:
Ronny Chevalier 2014-10-12 17:59:03 +02:00 committed by Tom Gundersen
parent 7bd57a87ad
commit 81a12ba6ec
2 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>. 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_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_tree(const char *from, const char *to, bool merge);
int copy_bytes(int fdf, int fdt, off_t max_bytes); int copy_bytes(int fdf, int fdt, off_t max_bytes);

View File

@ -21,6 +21,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>. along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include <stdbool.h>
#include "macro.h"
typedef enum LocaleVariable { typedef enum LocaleVariable {
/* We don't list LC_ALL here on purpose. People should be /* We don't list LC_ALL here on purpose. People should be
* using LANG instead. */ * using LANG instead. */