summaryrefslogtreecommitdiff
path: root/zabbix-configure-sscanf.patch
blob: a872ff5b74663b642e51ccbd9cb979c4e3e4c6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sscanf needs <stdio.h> for the prototype.  Submitted upstream here:

  <https://support.zabbix.com/browse/ZBX-21946>

diff --git a/configure.ac b/configure.ac
index 0588004f9f89cdd5..bbc60e3a28369f9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1087,6 +1087,7 @@ AC_MSG_CHECKING(for long long format)
 AC_TRY_RUN(
 [
 #include <sys/types.h>
+#include <stdio.h>
 int main()
 {
         uint64_t i;