chiark / gitweb /
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 0bf2598f60df4be0bc1f321a8069dce5c91076f1..6b93107fabe26e5170dba9183d427d18ec7ef0b6 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 d7a3e4fae6eec901b89522c5edc95bd7292581ad..e48aa3d9af04c1c13cba5e849f45bc7afd3d6fad 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. */