From c40754bdb59b1693beb37819cce24092ab87c91d Mon Sep 17 00:00:00 2001 From: John Coyle Date: Fri, 9 Oct 2015 15:14:21 -0400 Subject: [PATCH] compat: use prefixed typeof to support stricter environments Signed-off-by: John Coyle --- src/include/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/compat.h b/src/include/compat.h index 885b9c1a48990..a533b3a71272a 100644 --- a/src/include/compat.h +++ b/src/include/compat.h @@ -34,7 +34,7 @@ #ifndef TEMP_FAILURE_RETRY #define TEMP_FAILURE_RETRY(expression) ({ \ - typeof(expression) __result; \ + __typeof(expression) __result; \ do { \ __result = (expression); \ } while (__result == -1 && errno == EINTR); \ -- 2.39.5