Fix up a couple of popauth problems in 2.2

This commit is contained in:
Paul Traina 1996-06-09 20:02:02 +00:00
parent 2eae25a123
commit 5aded53b0e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3184

View file

@ -213,7 +213,7 @@
# define HAVE_VSPRINTF
# define BIND43
# endif
+ # if (defined(BSD) && (BSD >= 199506))
+ # if (defined(BSD) && (BSD >= 199306))
+ # define BSD44_DBM
+ # endif
#endif
@ -248,3 +248,32 @@
#if defined(AUTHFILE)
extern int checkauthfile();
#endif
*** popauth.c Sun Jun 9 12:56:38 1996
--- popauth.c Sun Jun 9 13:00:51 1996
***************
*** 36,43 ****
#include <sys/file.h>
#endif
! #ifdef BSDI
! #define BSD44_DBM
#endif
#ifdef NEED_STRERROR
--- 36,51 ----
#include <sys/file.h>
#endif
! #ifdef HAVE_PARAM_H
! #include <sys/param.h>
! # if (defined(BSD) && (BSD >= 199103))
! # define HAVE_UNISTD_H
! # define HAVE_VSPRINTF
! # define BIND43
! # endif
! # if (defined(BSD) && (BSD >= 199306))
! # define BSD44_DBM
! # endif
#endif
#ifdef NEED_STRERROR