aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-host-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-host-utils.c')
-rw-r--r--e-util/e-host-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-host-utils.c b/e-util/e-host-utils.c
index 1b97c2e3f3..ab1b1cc0d6 100644
--- a/e-util/e-host-utils.c
+++ b/e-util/e-host-utils.c
@@ -28,7 +28,9 @@
#include <stdio.h>
#include <errno.h>
+#ifndef HAVE_GETHOSTBYNAME_R
G_LOCK_DEFINE_STATIC (gethost_mutex);
+#endif
/**
* e_gethostbyname_r: