diff options
| author | Ulf Hermann <[email protected]> | 2017-04-20 15:37:04 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2017-04-26 00:10:52 +0200 |
| commit | 9c1509abe9f3934746b04eff8d91f6f9d181f41d (patch) | |
| tree | 668ed5b830860d4c077f332514f22326993af15d /tests/backtrace-dwarf.c | |
| parent | 5dd27ffbb374b90741fb854de3e02708ffda643f (diff) | |
Clean up linux-specific system includes
We only include them where we actually need them and only on linux.
Signed-off-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'tests/backtrace-dwarf.c')
| -rw-r--r-- | tests/backtrace-dwarf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backtrace-dwarf.c b/tests/backtrace-dwarf.c index a644c8ab..2dc8a9a2 100644 --- a/tests/backtrace-dwarf.c +++ b/tests/backtrace-dwarf.c @@ -24,7 +24,6 @@ #include <errno.h> #include <error.h> #include <unistd.h> -#include <sys/ptrace.h> #include <sys/types.h> #include <sys/wait.h> #include ELFUTILS_HEADER(dwfl) @@ -40,6 +39,7 @@ main (int argc __attribute__ ((unused)), char **argv) } #else /* __linux__ */ +#include <sys/ptrace.h> #define main cleanup_13_main #include "cleanup-13.c" |
