From 1db83e5afae10b8c37e2120ed65eecc8d83a955f Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 10 Jan 1995 02:51:06 +0000 Subject: [PATCH] * kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and never sys/fcntl.h. * krshd.c: Always define the Kerberos V4 data structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4800 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 7 +++++++ src/appl/bsd/kcmd.c | 5 ----- src/appl/bsd/krcp.c | 4 +--- src/appl/bsd/krlogin.c | 3 --- src/appl/bsd/krshd.c | 2 -- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 7ee21c962..8144c4b12 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,10 @@ +Mon Jan 9 21:48:54 1995 Theodore Y. Ts'o (tytso@dcl) + + * kcmd.c, krlogin.c, krcp.c: Always include fcntl.h, and never + sys/fcntl.h. + + * krshd.c: Always define the Kerberos V4 data structures. + Tue Jan 3 16:54:02 1995 Richard Basch (probe@tardis) * krshd.c diff --git a/src/appl/bsd/kcmd.c b/src/appl/bsd/kcmd.c index 2f4fabd08..31c448d45 100644 --- a/src/appl/bsd/kcmd.c +++ b/src/appl/bsd/kcmd.c @@ -31,11 +31,6 @@ #define _TYPES_ #endif #include -#ifdef NEED_SYS_FCNTL_H -#include -#endif - - #ifndef MAXPATHLEN #define MAXPATHLEN 1024 diff --git a/src/appl/bsd/krcp.c b/src/appl/bsd/krcp.c index e2adb920e..5101d5f72 100644 --- a/src/appl/bsd/krcp.c +++ b/src/appl/bsd/krcp.c @@ -36,9 +36,7 @@ char copyright[] = #define _TYPES_ #endif #include -#ifdef NEED_SYS_FCNTL_H -#include -#endif +#include #include #include #include diff --git a/src/appl/bsd/krlogin.c b/src/appl/bsd/krlogin.c index 86b416f27..d48e98133 100644 --- a/src/appl/bsd/krlogin.c +++ b/src/appl/bsd/krlogin.c @@ -50,9 +50,6 @@ char copyright[] = #include #include #include -#ifdef NEED_SYS_FCNTL_H -#include -#endif #include diff --git a/src/appl/bsd/krshd.c b/src/appl/bsd/krshd.c index f1dd3a274..5cad08f8a 100644 --- a/src/appl/bsd/krshd.c +++ b/src/appl/bsd/krshd.c @@ -446,11 +446,9 @@ char *kremuser; krb5_principal client; krb5_authenticator *kdata; -#ifdef KRB5_KRB4_COMPAT #include AUTH_DAT *v4_kdata; KTEXT v4_ticket; -#endif int auth_sys = 0; /* Which version of Kerberos used to authenticate */ -- 2.26.2