From 028099dbfd92e62eb0c6227d1194ff714f55e67c Mon Sep 17 00:00:00 2001 From: Anastasia Klimchuk Date: Sat, 11 Mar 2023 20:26:55 +1100 Subject: tests: Add wrap for __fstat50 to fix tests for NetBSD Tested by running unit tests on NetBSD 9.2 Ubuntu 22.04.1 (still pass) Change-Id: Icb8e453328cb40ab9d628f01ecdc3886a233dad5 Signed-off-by: Anastasia Klimchuk Reviewed-on: https://review.coreboot.org/c/flashrom/+/73649 Tested-by: build bot (Jenkins) Tested-by: Thomas Heijligen Reviewed-by: Thomas Heijligen Reviewed-by: Peter Marheine --- tests/wraps.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/wraps.h') diff --git a/tests/wraps.h b/tests/wraps.h index 6cc956777..089d99274 100644 --- a/tests/wraps.h +++ b/tests/wraps.h @@ -46,6 +46,7 @@ int __wrap___xstat(const char *path, void *buf); int __wrap___xstat64(const char *path, void *buf); int __wrap_fstat(int fd, void *buf); int __wrap_fstat64(int fd, void *buf); +int __wrap___fstat50(int fd, void *buf); int __wrap___fxstat(int fd, void *buf); int __wrap___fxstat64(int fd, void *buf); char *__wrap_fgets(char *buf, int len, FILE *fp); -- cgit v1.2.3