Signed-off-by: Mark Wielaard <mjw@redhat.com>
2016-01-13 Mark Wielaard <mjw@redhat.com>
+ * dwfl-proc-attach.c: Guard linux specific header.
+
+2016-01-13 Mark Wielaard <mjw@redhat.com>
+
* system-elf-libelf-test.c: New test.
* Makefile.am (TESTS): Add system-elf-libelf-test, if !STANDALONE.
(check_PROGRAMS): Likewise.
#include <errno.h>
#include <error.h>
#include <unistd.h>
+#ifdef __linux__
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/user.h>
#include <string.h>
#include ELFUTILS_HEADER(dwfl)
#include <pthread.h>
+#endif
#ifndef __linux__
int