Mercurial > pidgin.yaz
changeset 17804:016eee704a96
Avoid including NSPR's private header pprio.h just for the prototype of
PR_ImportTCPSocket, and instead duplicate the prototype.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 09 Jun 2007 16:13:10 +0000 |
parents | d5fa6c45045e |
children | ba1b50f114f6 |
files | libpurple/plugins/ssl/ssl-nss.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-nss.c Sat Jun 09 14:45:14 2007 +0000 +++ b/libpurple/plugins/ssl/ssl-nss.c Sat Jun 09 16:13:10 2007 +0000 @@ -32,7 +32,6 @@ #undef HAVE_LONG_LONG /* Make Mozilla less angry. If angry, Mozilla SMASH! */ #include <nspr.h> -#include <private/pprio.h> #include <nss.h> #include <pk11func.h> #include <prio.h> @@ -42,6 +41,10 @@ #include <sslerr.h> #include <sslproto.h> +/* This is defined in NSPR's <private/pprio.h>, but to avoid including a + * private header we duplicate the prototype here */ +NSPR_API(PRFileDesc*) PR_ImportTCPSocket(PRInt32 osfd); + typedef struct { PRFileDesc *fd;