opnsense-ports/sysutils/apcupsd/files/patch-include_apc.h
Franco Fichtner e4120b368f sysutils/apcupsd: sync with upstream
Taken from: FreeBSD
2016-12-05 08:33:44 +01:00

17 lines
297 B
C

--- 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