From 9917cd555abf0a195fc545c85272ffe4082f30b9 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 15:32:39 -0400 Subject: tweak when compiling without C95 --- src/wchar/wcswcs.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/wchar/wcswcs.c b/src/wchar/wcswcs.c index 31fb5b59..8f5df6f8 100644 --- a/src/wchar/wcswcs.c +++ b/src/wchar/wcswcs.c @@ -1,4 +1,12 @@ +#ifdef __STDC_VERSION__ #include +#else +#include +#include "wctype/wint_t.c" +#include "wctype/wctrans_t.c" +#define wcsstr __wcsstr +#include "wcsstr.c" +#endif wchar_t * wcswcs(const wchar_t * s1, const wchar_t * s2) { -- cgit v1.2.1