summaryrefslogtreecommitdiff
path: root/gio/gdbusauthmechanismsha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gio/gdbusauthmechanismsha1.c')
-rw-r--r--gio/gdbusauthmechanismsha1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/gdbusauthmechanismsha1.c b/gio/gdbusauthmechanismsha1.c
index 94fe0bce8..066a198fd 100644
--- a/gio/gdbusauthmechanismsha1.c
+++ b/gio/gdbusauthmechanismsha1.c
@@ -20,6 +20,8 @@
#include "config.h"
+#ifdef ENABLE_DBUS_COOKIE_SHA1
+
#include <string.h>
#include <fcntl.h>
#include <errno.h>
@@ -1257,3 +1259,5 @@ mechanism_client_shutdown (GDBusAuthMechanism *mechanism)
}
/* ---------------------------------------------------------------------------------------------------- */
+
+#endif /* ENABLE_DBUS_COOKIE_SHA1 */