Repository navigation
Add QNX support - #1792
Add QNX support#1792nnarayanamurthy wants to merge 3 commits into
Conversation
| #endif | ||
|
|
||
| #ifdef __QNX__ | ||
| #include <sys/time.h> |
There was a problem hiding this comment.
What is needed from this header file? It's POSIX so presumably, other systems should be including it as well if it's truly needed in the code. And if so, then it should be included with an #ifdef HAVE_SYS_TIME_H barrier rather than an OS-specific one.
This comment applies to all other similar constructions in this patch.
| static const char *pubkey = "/home/username/.ssh/id_rsa.pub"; | ||
| static const char *privkey = "/home/username/.ssh/id_rsa"; | ||
| #ifdef __QNX__ | ||
| static const char *username = "qnxuser"; |
There was a problem hiding this comment.
The actual username and password are intended to be examples for people to change as required. This change is not needed for the example to be correct on QNX.
|
FYI PR #1688 re-adds |
Reported-by: nnarayanamurthy on github Fixes libssh2#1792 Follow-up to e53aae0 libssh2#1001
Reported-by: nnarayanamurthy on github Fixes libssh2#1792 Follow-up to e53aae0 libssh2#1001
|
@nnarayanamurthy I merged two fixes for missing includes #1688 and #1863. |
No description provided.