From e434d404d0db719440cc911729d225417a49b4f4 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Tue, 16 Mar 2021 04:33:00 -0700 Subject: Move even more headers outside extern "C". If a header declares a function, or anything else requiring the extern "C" decoration, have it wrap the declaration itself; don't rely on the header itself being included inside extern "C". --- wsutil/time_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wsutil/time_util.h') diff --git a/wsutil/time_util.h b/wsutil/time_util.h index 99d97d662e..40914d29a5 100644 --- a/wsutil/time_util.h +++ b/wsutil/time_util.h @@ -12,12 +12,12 @@ #include "ws_symbol_export.h" +#include + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ -#include - /** Converts a broken down date representation, relative to UTC, * to a timestamp */ -- cgit v1.2.3