From: Richard Basch Date: Thu, 4 Jan 1996 05:41:38 +0000 (+0000) Subject: Always include instead of checking for X-Git-Tag: krb5-1.0-beta6~663 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77f447c1b1828a1b1f4bd64ca9ebaa4713539606;p=krb5.git Always include instead of checking for git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7269 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb4/configure.in b/src/lib/kdb4/configure.in index fe3f8e42c..9bbc1cfd6 100644 --- a/src/lib/kdb4/configure.in +++ b/src/lib/kdb4/configure.in @@ -6,7 +6,6 @@ AC_PROG_RANLIB AC_PROG_INSTALL AC_HEADER_CHECK(ndbm.h,AC_DEFINE(NDBM)) AC_CONST -CHECK_FCNTL KRB5_POSIX_LOCKS AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H)) ET_RULES diff --git a/src/lib/kdb4/krb_kdb_utils.c b/src/lib/kdb4/krb_kdb_utils.c index 9421b30c6..2733f491e 100644 --- a/src/lib/kdb4/krb_kdb_utils.c +++ b/src/lib/kdb4/krb_kdb_utils.c @@ -20,10 +20,7 @@ #include #include #include -#ifdef NEED_SYS_FCNTL_H -/* just for O_* for sco */ -#include -#endif +#include /* just for O_* for sco */ long kdb_get_master_key_from(prompt, master_key, master_key_sched, verify, kfilename) diff --git a/src/lib/krb4/configure.in b/src/lib/krb4/configure.in index 83eca0a5d..5a2eb94a0 100644 --- a/src/lib/krb4/configure.in +++ b/src/lib/krb4/configure.in @@ -5,7 +5,6 @@ AC_PROG_ARCHIVE_ADD AC_PROG_RANLIB AC_PROG_INSTALL AC_CONST -CHECK_FCNTL KRB5_POSIX_LOCKS AC_HEADER_CHECK(unistd.h,AC_DEFINE(HAS_UNISTD_H)) AC_CHECK_HEADERS(sys/select.h time.h) diff --git a/src/lib/krb4/dest_tkt.c b/src/lib/krb4/dest_tkt.c index 67ecdbb5e..7830a859f 100644 --- a/src/lib/krb4/dest_tkt.c +++ b/src/lib/krb4/dest_tkt.c @@ -17,10 +17,7 @@ #include #endif #include -#ifdef NEED_SYS_FCNTL_H -/* for sconix, to get O_RDWR */ -#include -#endif +#include #ifndef O_SYNC #define O_SYNC 0 diff --git a/src/lib/krb4/in_tkt.c b/src/lib/krb4/in_tkt.c index 98ab1634c..42cfed43d 100644 --- a/src/lib/krb4/in_tkt.c +++ b/src/lib/krb4/in_tkt.c @@ -13,10 +13,7 @@ #include #include "krb.h" #include -#ifdef NEED_SYS_FCNTL_H -/* just for O_RDWR for sco */ -#include -#endif +#include #include #ifdef TKT_SHMEM #include diff --git a/src/lib/krb4/put_svc_key.c b/src/lib/krb4/put_svc_key.c index 105799139..b5185911b 100644 --- a/src/lib/krb4/put_svc_key.c +++ b/src/lib/krb4/put_svc_key.c @@ -26,9 +26,7 @@ #include #include #include -#ifdef NEED_SYS_FCNTL_H -#include -#endif +#include #ifdef HAS_UNISTD_H #include #endif diff --git a/src/util/ss/configure.in b/src/util/ss/configure.in index 5254f7945..16f5b827e 100644 --- a/src/util/ss/configure.in +++ b/src/util/ss/configure.in @@ -11,7 +11,6 @@ AC_FUNC_CHECK(strdup,AC_DEFINE(HAS_STRDUP)) ET_RULES SS_RULES CHECK_DIRENT -CHECK_FCNTL CHECK_WAIT_TYPE CHECK_SIGNALS CHECK_SIGPROCMASK diff --git a/src/util/ss/help.c b/src/util/ss/help.c index 3cdf82b57..e09b77715 100644 --- a/src/util/ss/help.c +++ b/src/util/ss/help.c @@ -7,10 +7,7 @@ #include #include #include -#ifdef NEED_SYS_FCNTL_H -/* just for O_* */ -#include -#endif +#include /* just for O_* */ #include #include "ss_internal.h" #include "copyright.h"