summaryrefslogtreecommitdiff
blob: 0fbd5ed92a405ee011237faeb096b09fecf6b94d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur tcp_wrappers_7.6.orig/tcpd.h tcp_wrappers_7.6/tcpd.h
--- tcp_wrappers_7.6.orig/tcpd.h	2014-03-24 18:39:52.000000000 +0000
+++ tcp_wrappers_7.6/tcpd.h	2014-03-24 18:48:21.000000000 +0000
@@ -11,7 +11,9 @@
 #include <netinet/in.h>
 #include <stdio.h>
 
+#ifdef __cplusplus
 __BEGIN_DECLS
+#endif
 
 /* Structure to describe one communications endpoint. */
 
@@ -252,6 +254,8 @@
 extern char *my_strtok();
 #endif
 
+#ifdef __cplusplus
 __END_DECLS
+#endif
 
 #endif