[systemd-devel] [PATCH 1/4] shared: add missing includes

Tom Gundersen teg at jklm.no
Fri Oct 31 03:04:59 PDT 2014


Applied all four. Thanks!

Tom

On Thu, Oct 30, 2014 at 10:32 PM, Ronny Chevalier
<chevalier.ronny at gmail.com> wrote:
> ---
>  src/shared/copy.h        | 3 +++
>  src/shared/locale-util.h | 4 ++++
>  2 files changed, 7 insertions(+)
>
> diff --git a/src/shared/copy.h b/src/shared/copy.h
> index 0bf2598..6b93107 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 d7a3e4f..e48aa3d 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. */
> --
> 2.1.3
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list