]> git.sur5r.net Git - openldap/blobdiff - clients/rcpt500/help.c
Add configure tests for ssize_t and caddr_t and remove NT preamble
[openldap] / clients / rcpt500 / help.c
index 0f541ab9be1efde1bfd59df0f6f9b195f5c6d899..76dca44f8f9f03b1654a72403f5e767975467b87 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * help.c: for rcpt500 (X.500 email query responder)
  *
@@ -6,22 +7,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;