summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 20:02:59 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-03-09 22:10:54 -0400
commit6410074b4f8f06a7fce32fa200f6c9f5d97fec45 (patch)
treeaeb03c3a34dd3a4082ab94254982fd406256b428 /src/shared
parentfaf9da01ad93bd48523f0966646bbd3ca85a2951 (diff)
Add missing includes
audit.h uses uint32_t and bool. log.h uses abs.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/audit.h2
-rw-r--r--src/shared/log.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/audit.h b/src/shared/audit.h
index 7e9c929ac6..781866ae1c 100644
--- a/src/shared/audit.h
+++ b/src/shared/audit.h
@@ -21,6 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdint.h>
+#include <stdbool.h>
#include <sys/types.h>
diff --git a/src/shared/log.h b/src/shared/log.h
index 2dedfa3fd1..d6061c05ea 100644
--- a/src/shared/log.h
+++ b/src/shared/log.h
@@ -23,6 +23,7 @@
#include <stdbool.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <syslog.h>
#include <sys/signalfd.h>
#include <errno.h>