commit bd9b56bb5cf705c28d3ac3b5cf2eceddc723af1a Author: FRIGN <[email protected]> Date: Thu Mar 5 00:57:14 2015 +0100
Include sys/stat.h in nohup(1)
I accidentally removed it, but it's needed to compile on OpenBSD.
diff --git a/nohup.c b/nohup.c
index b1e69e9..6c7b933 100644
--- 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>
