chiark / gitweb /
Add missing includes
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Mar 2015 00:02:59 +0000 (20:02 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Mar 2015 02:10:54 +0000 (22:10 -0400)
audit.h uses uint32_t and bool.
log.h uses abs.

src/shared/audit.h
src/shared/log.h

index 7e9c929ac6c652c6d94345fb38e353cf4ae5e926..781866ae1c9af88cd5ccd341bd58baf31b4479a5 100644 (file)
@@ -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>
 
 
index 2dedfa3fd1d64caff7f87ee62e4dc48af94b5a4a..d6061c05eac7b44c847cd5c0dd5aa4f0c2c80168 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <stdbool.h>
 #include <stdarg.h>
+#include <stdlib.h>
 #include <syslog.h>
 #include <sys/signalfd.h>
 #include <errno.h>