[master] e527020af Include proper prototype for daemon()

Poul-Henning Kamp phk at FreeBSD.org
Mon Jan 13 14:41:06 UTC 2020


commit e527020af4349adb2039c1de78d9c48496197c92
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Jan 13 14:02:19 2020 +0000

    Include proper prototype for daemon()

diff --git a/lib/libvarnishapi/daemon.c b/lib/libvarnishapi/daemon.c
index 20d9ebc2c..180f3370a 100644
--- a/lib/libvarnishapi/daemon.c
+++ b/lib/libvarnishapi/daemon.c
@@ -35,6 +35,7 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <unistd.h>
+#include <stdlib.h>
 #include <stdio.h>
 
 #include "compat/daemon.h"


More information about the varnish-commit mailing list