[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#941839: tcp-wrappers: DECLS replacement (musl, rebootstrap) (PATCH)

Source: tcp-wrappers
Severity: normal
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

Patch for building tcp-wrappers with musl.

It is the same patch that has been applied by other projects:
--- tcp-wrappers-7.6.q.orig/tcpd.h
+++ tcp-wrappers-7.6.q/tcpd.h
@@ -11,7 +11,9 @@
 #include <netinet/in.h>
 #include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
 /* Structure to describe one communications endpoint. */
@@ -252,6 +254,8 @@ extern char *fix_strtok();
 extern char *my_strtok();
+#ifdef __cplusplus

Reply to: