aboutsummaryrefslogtreecommitdiff
path: root/tests/stat
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-08-04 00:57:34 +0800
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-08-04 08:51:04 +0800
commitfd56e35e8c5960cff43aee19b3a7c6e31fa8d7f2 (patch)
treeeead0815329266dbf1f2242400c95e14a0714164 /tests/stat
parent4b4ca9844a7ee8e40e3effd9ca5b3d7e279a12d7 (diff)
Include signal.h when using signals.
Diffstat (limited to 'tests/stat')
-rw-r--r--tests/stat/test_chmod.c3
-rw-r--r--tests/stat/test_mknod.c3
-rw-r--r--tests/stat/test_stat.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/tests/stat/test_chmod.c b/tests/stat/test_chmod.c
index 94e6c12b..bf0e2cbe 100644
--- a/tests/stat/test_chmod.c
+++ b/tests/stat/test_chmod.c
@@ -2,6 +2,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -150,4 +151,4 @@ int main() {
setup();
test();
return EXIT_SUCCESS;
-} \ No newline at end of file
+}
diff --git a/tests/stat/test_mknod.c b/tests/stat/test_mknod.c
index 4cff57d9..2b8f650d 100644
--- a/tests/stat/test_mknod.c
+++ b/tests/stat/test_mknod.c
@@ -2,6 +2,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -93,4 +94,4 @@ int main() {
setup();
test();
return EXIT_SUCCESS;
-} \ No newline at end of file
+}
diff --git a/tests/stat/test_stat.c b/tests/stat/test_stat.c
index 14e88370..2c2bf53d 100644
--- a/tests/stat/test_stat.c
+++ b/tests/stat/test_stat.c
@@ -2,6 +2,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -164,4 +165,4 @@ int main() {
setup();
test();
return EXIT_SUCCESS;
-} \ No newline at end of file
+}