From fce557443c20595f35d64fe1348d875c632f61f4 Mon Sep 17 00:00:00 2001 From: Mikhail Grigorev Date: Tue, 20 Feb 2024 00:18:05 +0500 Subject: [PATCH] [ZBX-23890] removed non-existing headers from compiler checks: mtent.h and knlist.h --- ChangeLog | 1 + PATCHLIST.md | 1 + configure.ac | 7 +++---- include/sysinc.h | 8 -------- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 895bd02d..1f16cc4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -73,6 +73,7 @@ A......... [ZBX-21332] fixed runtime errors when linking items from two template ...G...... [ZBX-22695] fixed eventlog duplicate timestamps (asestakovs) ........S. [ZBX-22772] added trends cleanup for non-numeric value types (wiper) ...G...PS. [ZBX-23221] fixed memory leaks when using certificate-based encryption in Zabbix Agent 1 and Agent 2; thanks to Masato Hirahata for the patch (akozlovs, Andris) +...G...... [ZBX-23890] removed non-existing headers from compiler checks: mtent.h and knlist.h (arimdjonoks) -------------------------------------------------------------------------------- Changes for 4.4.27 diff --git a/PATCHLIST.md b/PATCHLIST.md index 5b13a0f9..f9a25efc 100644 --- a/PATCHLIST.md +++ b/PATCHLIST.md @@ -307,6 +307,7 @@ [ZBX-22695] fixed eventlog duplicate timestamps (https://support.zabbix.com/browse/ZBX-22695) [ZBX-22772] added trends cleanup for non-numeric value types (https://support.zabbix.com/browse/ZBX-22772) [ZBX-23221] fixed memory leaks when using certificate-based encryption in Zabbix Agent 1 and Agent 2; thanks to Masato Hirahata for the patch (https://support.zabbix.com/browse/ZBX-23221) +[ZBX-23890] removed non-existing headers from compiler checks: mtent.h and knlist.h (https://support.zabbix.com/browse/ZBX-23890) [ZBXNEXT-170] implemented possibility to "unlink" specific templates in hosts and templates massupdate (https://support.zabbix.com/browse/ZBXNEXT-170) [ZBXNEXT-284] added timeout parameter to zabbix_sender and zabbix_get (https://support.zabbix.com/browse/ZBXNEXT-284) [ZBXNEXT-435] Add Oracle TNSNAMES connect support (https://support.zabbix.com/browse/ZBXNEXT-435) diff --git a/configure.ac b/configure.ac index 87c0af55..bba48eff 100644 --- a/configure.ac +++ b/configure.ac @@ -50,12 +50,11 @@ AC_HEADER_STDC AC_CHECK_HEADERS(stdio.h stdlib.h string.h unistd.h netdb.h signal.h \ syslog.h time.h errno.h sys/types.h sys/stat.h netinet/in.h \ math.h sys/socket.h dirent.h ctype.h \ - mtent.h fcntl.h sys/param.h arpa/inet.h \ + fcntl.h sys/param.h arpa/inet.h \ sys/vfs.h sys/pstat.h sys/sysinfo.h sys/statvfs.h sys/statfs.h \ - sys/socket.h sys/loadavg.h arpa/inet.h \ - sys/vmmeter.h strings.h vm/vm_param.h \ + sys/loadavg.h sys/vmmeter.h strings.h vm/vm_param.h \ sys/time.h kstat.h sys/syscall.h sys/sysmacros.h \ - stdint.h mach/host_info.h mach/mach_host.h knlist.h pwd.h \ + stdint.h mach/host_info.h mach/mach_host.h pwd.h \ sys/var.h arpa/nameser.h assert.h sys/dkstat.h sys/disk.h sys/sched.h \ zone.h nlist.h kvm.h linux/kernel.h procinfo.h sys/dk.h \ sys/resource.h pthread.h windows.h process.h conio.h sys/wait.h \ diff --git a/include/sysinc.h b/include/sysinc.h index 012c7a00..9e911f55 100644 --- a/include/sysinc.h +++ b/include/sysinc.h @@ -157,10 +157,6 @@ # include #endif -#ifdef HAVE_KNLIST_H -# include -#endif - #ifdef HAVE_KSTAT_H # include #endif @@ -184,10 +180,6 @@ # include #endif -#ifdef HAVE_MTENT_H -# include -#endif - #ifdef HAVE_NETDB_H # include #endif