diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2018-02-11 00:26:09 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2018-02-11 00:26:09 +0000 |
commit | f2bb704a92ade4668e4e0ae45e55cc60bf94514c (patch) | |
tree | c4922ce5aa2cfc82e1e2f98f3b897f9ecd23aef2 /tests/test_printpath.c | |
parent | 971df259c6d361907b2c2832f7a8820636039760 (diff) | |
download | strace-f2bb704a92ade4668e4e0ae45e55cc60bf94514c.tar.gz |
Include <limits.h> instead of <sys/param.h>
Do not include <sys/param.h> unnecessarily as it includes <signal.h>.
* pathtrace.c: Include <limits.h> instead of <sys/param.h>.
* strace.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.
* tests/getcwd.c: Likewise.
* tests/group_req.c: Likewise.
* tests/inode_of_sockfd.c: Likewise.
* tests/ip_mreq.c: Likewise.
* tests/printpath-umovestr.c: Likewise.
* tests/qual_fault.c: Likewise.
* tests/test_printpath.c: Likewise.
* tests/umovestr3.c: Likewise.
* tests/net-y-unix.c: Do not include <sys/param.h>.
* tests/net-yy-unix.c: Likewise.
Diffstat (limited to 'tests/test_printpath.c')
-rw-r--r-- | tests/test_printpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_printpath.c b/tests/test_printpath.c index 5f482f25e..c3f738b90 100644 --- a/tests/test_printpath.c +++ b/tests/test_printpath.c @@ -29,10 +29,10 @@ #include "tests.h" +#include <limits.h> #include <stdio.h> #include <string.h> #include <unistd.h> -#include <sys/param.h> #include "test_ucopy.h" |