diff options
author | Ulf Hermann <[email protected]> | 2017-02-16 10:10:30 +0100 |
---|---|---|
committer | Mark Wielaard <[email protected]> | 2017-02-17 10:45:39 +0100 |
commit | b3248e684cedf66239710a5f16a6b45294f183bc (patch) | |
tree | f8184f18599492e9d8f2727d3a5fba005429578b /libasm | |
parent | cb379c4d7859848572c224f7bebd107b02adcfd6 (diff) |
Check for existence of mempcpy
If it doesn't exist, provide a definition based on memcpy.
Signed-off-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'libasm')
-rw-r--r-- | libasm/ChangeLog | 4 | ||||
-rw-r--r-- | libasm/disasm_str.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog index fe06007e..26fc5a95 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,7 @@ +2017-02-15 Ulf Hermann <[email protected]> + + * disasm_str.c: Include system.h. + 2015-10-11 Akihiko Odaki <[email protected]> * asm_align.c: Remove sys/param.h include. diff --git a/libasm/disasm_str.c b/libasm/disasm_str.c index 5b0bb299..c14e6d5b 100644 --- a/libasm/disasm_str.c +++ b/libasm/disasm_str.c @@ -31,7 +31,7 @@ #endif #include <string.h> - +#include <system.h> #include "libasmP.h" |