summaryrefslogtreecommitdiff
path: root/util/cbfstool/flashmap
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-05-09 08:28:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-05-09 14:57:55 +0200
commit94383da335bea7fb92d3c15943e0458a4c6e29f6 (patch)
treecf82af8b864f2b8a2573c62e83e9435bc589ae89 /util/cbfstool/flashmap
parentef33db01b31f49c82de3e740eb6a11fc1114f56a (diff)
fmap: request libc compatibility level that includes memccpy
Change-Id: I928efe6f63305a0099d64e83091aa80768582f48 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/10160 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'util/cbfstool/flashmap')
-rw-r--r--util/cbfstool/flashmap/fmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cbfstool/flashmap/fmap.c b/util/cbfstool/flashmap/fmap.c
index 5438d49f8f..f143beb90f 100644
--- a/util/cbfstool/flashmap/fmap.c
+++ b/util/cbfstool/flashmap/fmap.c
@@ -32,6 +32,8 @@
* Software Foundation.
*/
+#define _XOPEN_SOURCE 700
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>