[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [PATCH] m4/intdiv0.m4: Include <unistd.h> for a declaratio
From: |
Florian Weimer |
Subject: |
[bug-gettext] [PATCH] m4/intdiv0.m4: Include <unistd.h> for a declaration of _exit |
Date: |
Tue, 10 Sep 2019 10:00:28 +0200 |
* m4/intdiv0.m4 (gt_INTDIV0): Include <unistd.h> for _exit.
---
gettext-runtime/m4/intdiv0.m4 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gettext-runtime/m4/intdiv0.m4 b/gettext-runtime/m4/intdiv0.m4
index e63fcf100..92f3ae5c7 100644
--- a/gettext-runtime/m4/intdiv0.m4
+++ b/gettext-runtime/m4/intdiv0.m4
@@ -33,6 +33,9 @@ changequote([,])dnl
[AC_LANG_SOURCE([[
#include <stdlib.h>
#include <signal.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
static void
sigfpe_handler (int sig)
--
2.21.0
- [bug-gettext] [PATCH] m4/intdiv0.m4: Include <unistd.h> for a declaration of _exit,
Florian Weimer <=