[systemd-commits] 3 commits - src/shared

David Herrmann dvdhrm at kemper.freedesktop.org
Thu Sep 18 15:41:19 PDT 2014


 src/shared/label.h         |    1 +
 src/shared/pty.c           |    1 +
 src/shared/sparse-endian.h |    1 +
 3 files changed, 3 insertions(+)

New commits:
commit 8e8af4cfc7fa373504a22e58966909161acfb72f
Author: Emil Renner Berthing <systemd at esmil.dk>
Date:   Thu Sep 18 15:24:43 2014 +0200

    shared/sparse-endian.h: add missing byteswap.h include

diff --git a/src/shared/sparse-endian.h b/src/shared/sparse-endian.h
index eb4dbf3..c913fda 100644
--- a/src/shared/sparse-endian.h
+++ b/src/shared/sparse-endian.h
@@ -21,6 +21,7 @@
 #ifndef SPARSE_ENDIAN_H
 #define SPARSE_ENDIAN_H
 
+#include <byteswap.h>
 #include <endian.h>
 #include <stdint.h>
 

commit 45f15021e3524b04d574b9ff4e801cb3219daf3f
Author: Emil Renner Berthing <systemd at esmil.dk>
Date:   Thu Sep 18 15:24:42 2014 +0200

    shared/label.h: add missing stdio.h include

diff --git a/src/shared/label.h b/src/shared/label.h
index 7294820..cb2ec79 100644
--- a/src/shared/label.h
+++ b/src/shared/label.h
@@ -24,6 +24,7 @@
 #include <sys/types.h>
 #include <stdbool.h>
 #include <sys/socket.h>
+#include <stdio.h>
 
 int label_init(const char *prefix);
 void label_finish(void);

commit fb1f4170d008315cb9eabe994038977a0366ede5
Author: David Herrmann <dh.herrmann at gmail.com>
Date:   Fri Sep 19 00:23:42 2014 +0200

    pty: include linux/ioctl.h for TIOCSIG
    
    TIOCSIG is linux specific, so include the linux ioctl header to make sure
    it's defined. We currently rely on some rather non-obvious recursive
    includes. Make sure its always defined regardless of the system headers.

diff --git a/src/shared/pty.c b/src/shared/pty.c
index 2863da4..31123e5 100644
--- a/src/shared/pty.c
+++ b/src/shared/pty.c
@@ -45,6 +45,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <linux/ioctl.h>
 #include <pty.h>
 #include <signal.h>
 #include <stdbool.h>



More information about the systemd-commits mailing list