From 0698324cde3e0cef7eeb6cfd1640c5eefdf13698 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 11 Aug 2016 20:46:51 +0200 Subject: common: New function string_to_u64. * common/stringhelp.c (string_to_u64): New. * dirmngr/http.c (longcounter_t): Remove. (struct cookie_s): Change content_length to uint64_t. (parse_response): Use string_to_u64. -- Meanwhile we allow some C99 features including stdint.h. Thus we can simplify things now. Signed-off-by: Werner Koch --- common/exechelp-posix.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/exechelp-posix.c') diff --git a/common/exechelp-posix.c b/common/exechelp-posix.c index b1b56f30c..943f20aa5 100644 --- a/common/exechelp-posix.c +++ b/common/exechelp-posix.c @@ -36,9 +36,7 @@ #include #include -#ifdef HAVE_STDINT_H -# include -#endif +#include #include #include #include -- cgit v1.2.3