Related to: <https://fedoraproject.org/wiki/Changes/PortingToModernC> <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
16 lines
444 B
Diff
16 lines
444 B
Diff
Include <unistd.h> for the exit function. This avoids an implicit
|
|
function declaration and mishandling of this test with future
|
|
compilers.
|
|
|
|
diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4
|
|
index 744b99ea8da87ca1..f5cbd3e944362697 100644
|
|
--- a/m4/intdiv0.m4
|
|
+++ b/m4/intdiv0.m4
|
|
@@ -33,6 +33,7 @@ changequote([,])dnl
|
|
[AC_LANG_SOURCE([[
|
|
#include <stdlib.h>
|
|
#include <signal.h>
|
|
+#include <unistd.h>
|
|
|
|
static void
|
|
sigfpe_handler (int sig)
|