summaryrefslogtreecommitdiff
path: root/cups/usersys.c
diff options
context:
space:
mode:
Diffstat (limited to 'cups/usersys.c')
-rw-r--r--cups/usersys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/usersys.c b/cups/usersys.c
index ff5cb3083..026b4a7cc 100644
--- a/cups/usersys.c
+++ b/cups/usersys.c
@@ -1175,7 +1175,7 @@ cups_init_client_conf(
* everything...)
*/
-#ifdef __APPLE__
+#if defined(__APPLE__) && defined(HAVE_SSL)
char sval[1024]; /* String value */
int bval; /* Boolean value */
@@ -1196,7 +1196,7 @@ cups_init_client_conf(
if (cups_apple_get_boolean(kValidateCertsKey, &bval))
cc->validate_certs = bval;
-#endif /* __APPLE__ */
+#endif /* __APPLE__ && HAVE_SSL */
}