Steps to reproduce:
- Compile Zabbix on a system with OpenSSL installed in a non-standard location (e.g. macOS) and the OpenSSL headers are not available in default include path
This happens because now zbxcoms.h includes ssl.h and zbxcoms.h is included in many headers. The corresponding makefiles must point to the correct location of OpenSSL includes.
Please see the patch that fixes this problem: tls_includes.patch