libssh-0.6.4 - OSX Yosemite compile error on redefinitions: include/libssh/misc.h
#define htonll(x) ntohll((x)) Quick Fix: #if defined(ntohll) #define HAVE_NTOHLL #endif #if !defined(HAVE_HTONLL) #define htonll(x) ntohll((x)) #endif Most likely want to fix this in such a way that it does HAVE_NTOHLL and HAVE_HTONLL defined in config.h so it checks if this is already defined or not automatically. This was a quick n’ dirty solution that let me continue -Mike & Ron.
