# HG changeset patch # User Stu Tomlinson # Date 1181405590 0 # Node ID 016eee704a962228f530f36f6ff53cbe98bcf6b1 # Parent d5fa6c45045ee8f4d0303779288da37e9119d03c Avoid including NSPR's private header pprio.h just for the prototype of PR_ImportTCPSocket, and instead duplicate the prototype. diff -r d5fa6c45045e -r 016eee704a96 libpurple/plugins/ssl/ssl-nss.c --- 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 -#include #include #include #include @@ -42,6 +41,10 @@ #include #include +/* This is defined in NSPR's , but to avoid including a + * private header we duplicate the prototype here */ +NSPR_API(PRFileDesc*) PR_ImportTCPSocket(PRInt32 osfd); + typedef struct { PRFileDesc *fd;