summaryrefslogtreecommitdiff
path: root/daemon/auth.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2004-04-16 22:08:58 +0000
committerGeorge Lebl <jirka@src.gnome.org>2004-04-16 22:08:58 +0000
commit99eb861105269a025e49ca3bd83a203738d17209 (patch)
treebcadb26ebcb6be20e7ef742ce56218e4ca9a39b1 /daemon/auth.c
parentab78d747172c66cba58b9511b9d08548fd3306af (diff)
downloadgdm-99eb861105269a025e49ca3bd83a203738d17209.tar.gz
ensure clean building even if FamilyInternetV6 is not define (define it
Fri Apr 16 15:08:25 2004 George Lebl <jirka@5z.com> * daemon/auth.c: ensure clean building even if FamilyInternetV6 is not define (define it ourselves to '6' which is what it is) * configure.in: raise version * NEWS: update
Diffstat (limited to 'daemon/auth.c')
-rw-r--r--daemon/auth.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/auth.c b/daemon/auth.c
index 535901e0..cae31eb2 100644
--- a/daemon/auth.c
+++ b/daemon/auth.c
@@ -38,6 +38,14 @@
#include "filecheck.h"
#include "auth.h"
+/* Ensure we know about FamilyInternetV6 even if what we're compiling
+ against doesn't */
+#ifdef ENABLE_IPV6
+#ifndef FamilyInternetV6
+#define FamilyInternetV6 6
+#endif /* ! FamilyInternetV6 */
+#endif /* ENABLE_IPV6 */
+
/* Local prototypes */
static FILE *gdm_auth_purge (GdmDisplay *d, FILE *af, gboolean remove_when_empty);