Parent: 665c517776df6b87a9fe925144ce2a2ef228379d
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2014-09-24 21:31:13
Tree: 90d48c35bc49f57826ae88d08fda507b3ffa4f05
sap: Fix compilation errors with musl Fix multiple errors similar to: profiles/sap/sap-u8500.c: In function 'send_request': profiles/sap/sap-u8500.c:288:3: error: implicit declaration of function 'strerror' [-Werror=implicit-function-declaration] sap_error("sending request failed: %s", strerror(ENOMEM)); ^ profiles/sap/sap-u8500.c:288:3: error: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Werror=format=] profiles/sap/sap-u8500.c:297:3: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration] memcpy(msg->payload, param->val, param->len); ^
Diffstat
| M | profiles/sap/sap-u8500.c | | | 1 | + |
1 files changed, 1 insertions(+), 0 deletions(-)