freebsd-ports/sysutils/apcupsd/files/patch-include_apc.h
Emanuel Haupt bf1576f42d Update to 3.14.14
PR:		210129
Submitted by:	nevecherya@gmail.com
Approved by:	maintainer-timeout (itetcu)
2016-12-04 10:30:47 +00: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