From b4fe5914300ee3bf23cb827620e152e3bd4164af Mon Sep 17 00:00:00 2001
From: Hallvard Furuseth <hallvard@openldap.org>
Date: Sat, 6 Mar 1999 06:20:13 +0000
Subject: [PATCH] include <stdlib.h> to get atoi()

---
 tests/progs/slapd-read.c   | 1 +
 tests/progs/slapd-search.c | 1 +
 tests/progs/slapd-tester.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/progs/slapd-read.c b/tests/progs/slapd-read.c
index 7b4887f0be..2e15ce3dec 100644
--- a/tests/progs/slapd-read.c
+++ b/tests/progs/slapd-read.c
@@ -1,6 +1,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include <ac/string.h>
 #include <ac/ctype.h>
diff --git a/tests/progs/slapd-search.c b/tests/progs/slapd-search.c
index 79857bef0b..4b82c6d6b1 100644
--- a/tests/progs/slapd-search.c
+++ b/tests/progs/slapd-search.c
@@ -1,6 +1,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include <ac/string.h>
 #include <ac/ctype.h>
diff --git a/tests/progs/slapd-tester.c b/tests/progs/slapd-tester.c
index cd8bf1f59a..801b457466 100644
--- a/tests/progs/slapd-tester.c
+++ b/tests/progs/slapd-tester.c
@@ -1,6 +1,7 @@
 #include "portable.h"
 
 #include <stdio.h>
+#include <stdlib.h>
 
 #include <ac/string.h>
 #include <ac/ctype.h>
-- 
GitLab