summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/files/patch-include_apc.h
blob: a91ee644e7b86ef39df22f02071e5e12394890fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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