]> git.sur5r.net Git - openldap/blobdiff - servers/slurpd/reject.c
debug messages incorrectly said "add" instead of "remove".
[openldap] / servers / slurpd / reject.c
index 8ae0dc63635728ca298566a8cced943f1ff4d134..aa7266740b06d267c1f05d8a2f11a954068c2409 100644 (file)
  * to a replica LDAP server.
  */
 
+#include "portable.h"
 
 #include <stdio.h>
+
+#include <ac/errno.h>
+#include <ac/unistd.h>
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
-#include <unistd.h>
 
 #include "slurp.h"
 #include "globals.h"
 
-#ifndef SYSERRLIST_IN_STDIO
-extern char *sys_errlist[];
-#endif /* SYSERRLIST_IN_STDIO */
-
-
 /*
  * Write a replication record to a reject file.  The reject file has the
  * same name as the replica's private copy of the file but with ".rej"