* main.c: Add prototype for daemon if needed
authorEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 18:04:35 +0000 (18:04 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 21 Jun 2001 18:04:35 +0000 (18:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13459 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5passwdd/ChangeLog
src/kadmin/v5passwdd/main.c

index c054294a8a3c998debdfb0c590a39e0e37893038..66e04ade58f2be0be12df0ab88b97b6fbd027aa2 100644 (file)
@@ -1,3 +1,7 @@
+2001-06-21  Ezra Peisach  <epeisach@mit.edu>
+
+       * main.c: Add prototype for daemon if needed.
+
 Mon Feb 26 15:22:44 2001  Ezra Peisach  <epeisach@mit.edu>
 
        *adm_conn.c, adm_rw.c, kadm5_defs.h, kpasswd.c, main.c,
index a411b21abf7de95dac873b119cba5a89a7f0e22f..80520b06f30774e964cdcd74e1b8c3c2a24cd661 100644 (file)
 #include <krb5/adm_proto.h>
 #include "kadm5_defs.h"
 
+#if defined(NEED_DAEMON_PROTO)
+extern int daemon(int, int);
+#endif
+
 static krb5_keytab keytab;
 char *programname;
 kadm5_config_params params;