summaryrefslogtreecommitdiffstats
path: root/libdwfl
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-02-16 10:10:30 +0100
committerMark Wielaard <mark@klomp.org>2017-02-17 10:45:39 +0100
commitb3248e684cedf66239710a5f16a6b45294f183bc (patch)
treef8184f18599492e9d8f2727d3a5fba005429578b /libdwfl
parentcb379c4d7859848572c224f7bebd107b02adcfd6 (diff)
Check for existence of mempcpy
If it doesn't exist, provide a definition based on memcpy. Signed-off-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'libdwfl')
-rw-r--r--libdwfl/ChangeLog4
-rw-r--r--libdwfl/linux-kernel-modules.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index 52466cc3..4c9f4f6a 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,5 +1,9 @@
2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
+ * linux-kernel-modules.c: Include system.h.
+
+2017-02-15 Ulf Hermann <ulf.hermann@qt.io>
+
* linux-kernel-modules.c: Use sysconf(_SC_PAGESIZE) to get page size.
* linux-proc-maps.c: Likewise.
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 <config.h>
+#include <system.h>
#include "libdwflP.h"
#include <inttypes.h>