From: Theodore Tso Date: Thu, 18 Aug 1994 23:08:56 +0000 (+0000) Subject: Added #ifdef NEED_SYS_FCNTL_H around X-Git-Tag: krb5-1.0-beta4.3~135 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=92a6873a7a2e7983c535707d145783e44c744c04;p=krb5.git Added #ifdef NEED_SYS_FCNTL_H around git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4198 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/popper/ChangeLog b/src/appl/popper/ChangeLog index 49cb5913d..e3d9ba1a9 100644 --- a/src/appl/popper/ChangeLog +++ b/src/appl/popper/ChangeLog @@ -1,3 +1,8 @@ +Thu Aug 18 19:07:38 1994 Theodore Y. Ts'o (tytso at tsx-11) + + * configure.in: + * pop_xmit.c: Added #ifdef NEED_SYS_FCNTL_H around + Wed Aug 10 12:46:12 1994 Theodore Y. Ts'o (tytso at tsx-11) * pop_dropcopy.c (pop_dropcopy): Change L_XTND to SEEK_END. diff --git a/src/appl/popper/configure.in b/src/appl/popper/configure.in index 45ec8a0de..9a6844d96 100644 --- a/src/appl/popper/configure.in +++ b/src/appl/popper/configure.in @@ -11,6 +11,7 @@ AC_HAVE_LIBRARY(BSD) AC_HAVE_LIBRARY(ndbm) AC_HAVE_LIBRARY(dbm) CHECK_WAIT_TYPE +CHECK_FCNTL AC_HEADER_CHECK(flock.h,[echo found flock.h for non-posix locks], AC_COMPILE_CHECK([POSIX file locking -- structs and flags], diff --git a/src/appl/popper/pop_xmit.c b/src/appl/popper/pop_xmit.c index 65109f777..9f59f7080 100644 --- a/src/appl/popper/pop_xmit.c +++ b/src/appl/popper/pop_xmit.c @@ -13,7 +13,9 @@ static char copyright[] = "Copyright (c) 1990 Regents of the University of Calif #include #include #include +#ifdef NEED_SYS_FCNTL_H #include +#endif #ifdef HAS_PATHS_H #include #endif