Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klein <m.klein@mvz-labor-lb.de>2023-03-08 17:45:25 +0300
committerMichael Klein <m.klein@mvz-labor-lb.de>2023-03-08 17:45:25 +0300
commite9345939598120a7a734700aad8d317f645f8e16 (patch)
tree6d3f59c1693997cdf63652f8f991772533686a6e
parent3f68d4c3869b0b2b5b5df5b08492e68eba903fc2 (diff)
src/remmina_ssh.c: macOS compile fix
define _DARWIN_C_SOURCE to get definitions of NI_MAXHOST and NI_MAXSERV
-rw-r--r--src/remmina_ssh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remmina_ssh.c b/src/remmina_ssh.c
index 9fcda715b..9802efe77 100644
--- a/src/remmina_ssh.c
+++ b/src/remmina_ssh.c
@@ -41,6 +41,7 @@
/* To get definitions of NI_MAXHOST and NI_MAXSERV from <netdb.h> */
#define _DEFAULT_SOURCE
+#define _DARWIN_C_SOURCE
/* Define this before stdlib.h to have posix_openpt */
#define _XOPEN_SOURCE 600