From b3248e684cedf66239710a5f16a6b45294f183bc Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 16 Feb 2017 10:10:30 +0100 Subject: Check for existence of mempcpy If it doesn't exist, provide a definition based on memcpy. Signed-off-by: Ulf Hermann --- libdwfl/ChangeLog | 4 ++++ libdwfl/linux-kernel-modules.c | 1 + 2 files changed, 5 insertions(+) (limited to 'libdwfl') diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog index 52466cc3..4c9f4f6a 100644 --- a/libdwfl/ChangeLog +++ b/libdwfl/ChangeLog @@ -1,3 +1,7 @@ +2017-02-15 Ulf Hermann + + * linux-kernel-modules.c: Include system.h. + 2017-02-15 Ulf Hermann * linux-kernel-modules.c: Use sysconf(_SC_PAGESIZE) to get page size. diff --git a/libdwfl/linux-kernel-modules.c b/libdwfl/linux-kernel-modules.c index a7ac19d2..7345e760 100644 --- a/libdwfl/linux-kernel-modules.c +++ b/libdwfl/linux-kernel-modules.c @@ -34,6 +34,7 @@ #endif #include +#include #include "libdwflP.h" #include -- cgit v1.2.3