From 0764d323d8908c1682f3ab654c48783438a88a54 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 29 Apr 2021 15:12:44 +0200 Subject: Fix -Wundef warnings for patterns `#if HAVE` * See [Feature #17752] * Using this to detect them: git grep -P 'if\s+HAVE' | grep -Pv 'HAVE_LONG_LONG|/ChangeLog|HAVE_TYPEOF' --- strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strftime.c') diff --git a/strftime.c b/strftime.c index d963038d94..17cfed1dda 100644 --- a/strftime.c +++ b/strftime.c @@ -59,7 +59,7 @@ #endif #if defined(TM_IN_SYS_TIME) || !defined(GAWK) #include -#if HAVE_SYS_TIME_H +#ifdef HAVE_SYS_TIME_H #include #endif #endif -- cgit v1.2.3