Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ftpd include <krb5/krb5.h> before including extern.h...



details:   https://anonhg.NetBSD.org/src/rev/232336d200a3
branches:  trunk
changeset: 488024:232336d200a3
user:      explorer <explorer%NetBSD.org@localhost>
date:      Fri Jun 16 23:17:41 2000 +0000

description:
include <krb5/krb5.h> before including extern.h, so krb5_context is defined

diffstat:

 libexec/ftpd/cmds.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 8cdb728f5f69 -r 232336d200a3 libexec/ftpd/cmds.c
--- a/libexec/ftpd/cmds.c       Fri Jun 16 23:09:57 2000 +0000
+++ b/libexec/ftpd/cmds.c       Fri Jun 16 23:17:41 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cmds.c,v 1.1 2000/06/14 13:44:22 lukem Exp $   */
+/*     $NetBSD: cmds.c,v 1.2 2000/06/16 23:17:41 explorer Exp $        */
 
 /*
  * Copyright (c) 1999-2000 The NetBSD Foundation, Inc.
@@ -101,7 +101,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: cmds.c,v 1.1 2000/06/14 13:44:22 lukem Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.2 2000/06/16 23:17:41 explorer Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -118,6 +118,10 @@
 #include <tzfile.h>
 #include <unistd.h>
 
+#ifdef KERBEROS5
+#include <krb5/krb5.h>
+#endif
+
 #include "extern.h"
 
 typedef struct {



Home | Main Index | Thread Index | Old Index