mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 21:29:06 +00:00
4a91ccf9ff
temporary fix until tslib can be updated fixes missing header src/ts_reconfig.c: In function 'ts_reconfig': src/ts_reconfig.c:43:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 43 | memset(ts, 0, sizeof(struct tsdev)); | ^~~~~~ src/ts_reconfig.c:21:1: note: include '<string.h>' or provide a declaration of 'memset' 20 | #include "tslib-private.h" +++ |+#include <string.h> 21 | src/ts_reconfig.c:43:9: warning:incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 43 | memset(ts, 0, sizeof(struct tsdev)); | ^~~~~~ src/ts_reconfig.c:43:9: note: include '<string.h>' or provide a declaration of 'memset'