]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
exit-status: add missing include for SIG* defines 281/head
authorMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 18 Jun 2015 07:00:01 +0000 (09:00 +0200)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Thu, 18 Jun 2015 07:04:43 +0000 (09:04 +0200)
Otherwise building fails with glibc 2.16. It works with glibc >= 2.17
because it is implicitly included via macro.h -> sys/param.h -> signal.h

src/basic/exit-status.c

index c09efdd2cb79c1643aed2c8042e3f90f361d8f07..5ab36825c0c62eb55b3b71274d907fe5e2602c7e 100644 (file)
@@ -20,6 +20,7 @@
 ***/
 
 #include <stdlib.h>
+#include <signal.h>
 
 #include "exit-status.h"
 #include "set.h"