commit 5aab050198159ba868bc9140cb59443f5212ce77
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Sat Oct 7 14:09:39 2017 +0200

    don't forward-declare SSL types any more
    
    our current project structure precludes the clash between some indirect
    include of ssl.h and our definition of 'S' (or 'M', i don't remember)
    that happened on some system, so there is no need to avoid including it
    any more.
    
    this avoids complaints from some more picky compilers, as re-defining
    typedefs (even to the same thing) is illegal before C11.

 src/socket.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/socket.h b/src/socket.h
index cd0c632..36ebe09 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -30,9 +30,7 @@
 #endif
 
 #ifdef HAVE_LIBSSL
-typedef struct ssl_st SSL;
-typedef struct ssl_ctx_st SSL_CTX;
-typedef struct stack_st _STACK;
+# include <openssl/ssl.h>
 
 enum {
        SSLv3 = 2,

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to