From 23745cddcc4814b3d5c544100eb371b3e7d187b8 Mon Sep 17 00:00:00 2001 From: Florian Weimer via Gnupg-devel Date: Fri, 27 Jan 2023 13:11:08 +0100 Subject: C99 compatibility fixes for gnupg 1 -- Include for the exit function. This avoids a failing GNUPG_CHECK_IPC check in case the compiler no longer supports implicit function declarations. Explicitly declare the return type of main as int. This too avoids failures with future compilers. --- acinclude.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'acinclude.m4') diff --git a/acinclude.m4 b/acinclude.m4 index 44dfd85a9..ed4992e71 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -314,6 +314,7 @@ define(GNUPG_CHECK_IPC, #include #include #include + #include int main() { int id; -- cgit v1.2.3