From 45e61c9a206cbcf5cb578d65789ce1c365b7f93e Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Tue, 13 Apr 2004 18:57:59 +0000 Subject: Never ever redefine socklen_t. This should fix building lmtp2nntp with external libsa (upcoming) --- net/ossp-sa/files/patch-sa.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/ossp-sa/files/patch-sa.h (limited to 'net/ossp-sa/files/patch-sa.h') diff --git a/net/ossp-sa/files/patch-sa.h b/net/ossp-sa/files/patch-sa.h new file mode 100644 index 000000000000..71cb495c0349 --- /dev/null +++ b/net/ossp-sa/files/patch-sa.h @@ -0,0 +1,13 @@ +--- sa.h.orig Tue Apr 13 20:44:58 2004 ++++ sa.h Tue Apr 13 20:45:30 2004 +@@ -41,10 +41,6 @@ + #include "config.h" + #endif + +-/* fallback for POSIX socklen_t */ +-#if defined(HAVE_CONFIG_H) && !defined(HAVE_SOCKLEN_T) +-typedef int socklen_t; +-#endif + + /* embedding support */ + #ifdef SA_PREFIX -- cgit v1.2.3