shared: add missing includes
authorRonny Chevalier <chevalier.ronny@gmail.com>
Sun, 12 Oct 2014 15:59:03 +0000 (17:59 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 31 Oct 2014 09:57:21 +0000 (10:57 +0100)
src/shared/copy.h
src/shared/locale-util.h

index 0bf2598..6b93107 100644 (file)
@@ -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);
index d7a3e4f..e48aa3d 100644 (file)
   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. */