commit b7c199e050e1d3e2b0b3cac77ed2a952a3a63ce4
parent 68aa3247130a11f2dae0d5c664984cf4ec02ef2e
Author: FRIGN <dev@frign.de>
Date: Thu, 5 Mar 2015 00:57:14 +0100
Include sys/stat.h in nohup(1)
I accidentally removed it, but it's needed to compile on OpenBSD.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/nohup.c b/nohup.c
@@ -1,4 +1,6 @@
/* See LICENSE file for copyright and license details. */
+#include <sys/stat.h>
+
#include <errno.h>
#include <fcntl.h>
#include <signal.h>