HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/sysutils/apcupsd/files/patch-include_apc.h
--- include/apc.h.orig	2015-02-17 20:18:17 UTC
+++ include/apc.h
@@ -148,13 +148,7 @@
 /* System includes conditionally included */
 
 #ifdef HAVE_LIBWRAP
-# ifdef __cplusplus
-   extern "C" {
-# endif
-# include <tcpd.h>
-# ifdef __cplusplus
-   };
-# endif
+# include "tcpd.h"
 #endif
 
 #endif