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 /lib/xstrndup.c | |
| 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 'lib/xstrndup.c')
| -rw-r--r-- | lib/xstrndup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xstrndup.c b/lib/xstrndup.c index d43e3b9e..a257aa9a 100644 --- a/lib/xstrndup.c +++ b/lib/xstrndup.c @@ -33,7 +33,7 @@ #include <stdint.h> #include <string.h> #include "libeu.h" - +#include "system.h" /* Return a newly allocated copy of STRING. */ char * |
