aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ssh.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 9f676b8e3..f56013ca7 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -130,6 +130,14 @@
#include "memdebug.h"
#endif
+#ifndef S_IRGRP
+#define S_IRGRP 0
+#endif
+
+#ifndef S_IROTH
+#define S_IROTH 0
+#endif
+
static LIBSSH2_ALLOC_FUNC(libssh2_malloc);
static LIBSSH2_REALLOC_FUNC(libssh2_realloc);
static LIBSSH2_FREE_FUNC(libssh2_free);