* kpropd.c: Provide prototype if needed.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13452
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * configure.in: Check for daemon() prototype.
+
+ * kpropd.c: Provide prototype if needed.
+
2001-06-18 Ezra Peisach <epeisach@mit.edu>
* kpropd.c (authorized_principal): Cast argument to ispace() to int.
AC_TYPE_MODE_T
AC_PROG_INSTALL
AC_CHECK_LIB(util,main)
+KRB5_NEED_PROTO([#include <unistd.h>],daemon,1)
KRB5_BUILD_PROGRAM
V5_AC_OUTPUT_MAKEFILE
#include "kprop.h"
+#if defined(NEED_DAEMON_PROTO)
+extern int daemon(int, int);
+#endif
+
#define SYSLOG_CLASS LOG_DAEMON
static char *kprop_version = KPROP_PROT_VERSION;