]> git.sur5r.net Git - openldap/blobdiff - clients/rcpt500/help.c
Update the announcement for 2.0-alpha (needs work... suggestions welcomed).
[openldap] / clients / rcpt500 / help.c
index 0f541ab9be1efde1bfd59df0f6f9b195f5c6d899..31efcb163529a9165aea9a5a54dde5c67e290e06 100644 (file)
@@ -6,22 +6,24 @@
  * All Rights Reserved
  */
 
+#include "portable.h"
+
 #include <stdio.h>
-#include <syslog.h>
-#include <string.h>
+
+#include <ac/syslog.h>
+#include <ac/string.h>
+#include <ac/unistd.h>
+
+#ifdef HAVE_FCNTL_H
 #include <fcntl.h>
+#endif
 
-#include "portable.h"
-#include "ldapconfig.h"
+#include "ldap_defaults.h"
 #include "rcpt500.h"
 
-extern int dosyslog;
-
 
 int
-help_cmd( msgp, reply )
-    struct msginfo     *msgp;
-    char               *reply;
+help_cmd(struct msginfo *msgp, char *reply)
 {
     int                fd, len;