This allows us to build with ZERO compile-time warnings.
--- /dev/null
+The files in this directory are "wrapper" files. They do nothing more
+than set a pragma, and include the system header file.
+
+The purpose of these wrappers is to remove compile-time warnings.
+They are NEVER installed. Any file in the parent directory MUST NOT
+include any "wrapper" file. Only the C source files can include the
+wrappers.
--- /dev/null
+#pragma GCC system_header
+#include <openssl/ocsp.h>
--- /dev/null
+#pragma GCC system_header
+#include <pcap.h>
#define _LIBRADIUS 1
#include <freeradius-devel/libradius.h>
-#include <pcap.h>
+#include <freeradius-devel/wrapper/pcap.h>
#include <freeradius-devel/radpaths.h>
#include <freeradius-devel/conf.h>
#endif
#ifdef HAVE_OPENSSL_OCSP_H
-#include <openssl/ocsp.h>
+#include <freeradius-devel/wrapper/openssl_ocsp.h>
#endif
static void tls_server_conf_free(fr_tls_server_conf_t *conf);