From 8893be2975709fa548cd993508a6843f88917c10 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Sun, 9 Aug 1998 02:48:03 +0000
Subject: [PATCH] LDAPworld P7: SLURPD compile problems with
 SYSERRLIST_IN_STDIO

---
 servers/slurpd/re.c | 4 ++--
 servers/slurpd/rq.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/servers/slurpd/re.c b/servers/slurpd/re.c
index 28d1d09b58..18043d98f8 100644
--- a/servers/slurpd/re.c
+++ b/servers/slurpd/re.c
@@ -31,9 +31,9 @@
 extern char *str_getline( char **next );
 extern void ch_free( char *p );
 
-#if !(defined(BSD) && (BSD >= 199306))
+#ifndef	SYSERRLIST_IN_STDIO
 extern char *sys_errlist[];
-#endif
+#endif /* SYSERRLIST_IN_STDIO
 
 /* Forward references */
 static Rh 	*get_repl_hosts( char *, int *, char ** );
diff --git a/servers/slurpd/rq.c b/servers/slurpd/rq.c
index 2745d4fe78..ef94cfa935 100644
--- a/servers/slurpd/rq.c
+++ b/servers/slurpd/rq.c
@@ -44,9 +44,9 @@ extern void Re_dump( Re *re );
 extern void Re_dump();
 #endif /* NEEDPROTOS */
 
-#if !(defined(BSD) && (BSD >= 199306))
+#ifndef	SYSERRLIST_IN_STDIO
 extern char *sys_errlist[];
-#endif
+#endif /* SYSERRLIST_IN_STDIO
 
 /*
  * Lock the replication queue.
-- 
GitLab