From: Michael Wallner Date: Thu, 9 Jan 2020 19:25:14 +0000 (+0100) Subject: m4: lost cinttypes X-Git-Tag: pre_cmake~61 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=c8b9a1330aaf70eb9e820a3a48799c6baf606a4a;p=awesomized%2Flibmemcached m4: lost cinttypes --- diff --git a/m4/config_extra.m4 b/m4/config_extra.m4 index 276ed6e2..2a8a211c 100644 --- a/m4/config_extra.m4 +++ b/m4/config_extra.m4 @@ -54,4 +54,24 @@ AH_TOP([ #endif ]) + +AH_BOTTOM([ + +#ifndef __STDC_FORMAT_MACROS +# define __STDC_FORMAT_MACROS +#endif + +#if defined(__cplusplus) +# include CINTTYPES_H +#else +# include +#endif + +#if !defined(HAVE_ULONG) && !defined(__USE_MISC) +# define HAVE_ULONG 1 +typedef unsigned long int ulong; +#endif + +]) + ])dnl CONFIG_EXTRA