[hackers] [sbase] Include sys/stat.h in nohup(1) || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:54:09 +0100 (CET)

commit b7c199e050e1d3e2b0b3cac77ed2a952a3a63ce4
Author: FRIGN <dev_AT_frign.de>
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
_AT_@ -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>
Received on Tue Mar 24 2015 - 23:54:09 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:11:20 CET