From c684b99e95c6bf73340ba66d335f705558f88051 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 19 May 2018 20:41:51 +0000 Subject: [PATCH] Ensure size_t type is decalared before use git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8667 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- wsjtx_config.h.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wsjtx_config.h.in b/wsjtx_config.h.in index 80ac160b9..39ea73329 100644 --- a/wsjtx_config.h.in +++ b/wsjtx_config.h.in @@ -44,6 +44,11 @@ extern "C" { /* typedef for consistent gfortran ABI for charlen type hidden arguments */ #if __GNUC__ > 7 +#ifdef __cplusplus +#include +#else +#include +#endif typedef size_t fortran_charlen_t; #else typedef int fortran_charlen_t;