Blob Blame History Raw
diff -rup a/lib/daemon.c b/lib/daemon.c
--- a/lib/daemon.c	2003-06-15 07:39:34.000000000 -0400
+++ b/lib/daemon.c	2023-02-08 14:25:02.780412730 -0500
@@ -39,6 +39,10 @@
 #include <strings.h>
 #endif /* not STDC_HEADERS and not HAVE_STRING_H */
 
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
 #ifdef HAVE_FCNTL_H
 #include <fcntl.h>
 #else