diff --git a/tests/ChangeLog b/tests/ChangeLog index 234ae562..34104ffe 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2016-01-13 Mark Wielaard + + * dwfl-proc-attach.c: Guard linux specific header. + 2016-01-13 Mark Wielaard * system-elf-libelf-test.c: New test. diff --git a/tests/dwfl-proc-attach.c b/tests/dwfl-proc-attach.c index 0ba0be24..e7bb2010 100644 --- a/tests/dwfl-proc-attach.c +++ b/tests/dwfl-proc-attach.c @@ -22,6 +22,7 @@ #include #include #include +#ifdef __linux__ #include #include #include @@ -29,6 +30,7 @@ #include #include ELFUTILS_HEADER(dwfl) #include +#endif #ifndef __linux__ int