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

From: <git_AT_suckless.org>
Date: Thu, 5 Mar 2015 01:17:36 +0100 (CET)

commit bd9b56bb5cf705c28d3ac3b5cf2eceddc723af1a
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 Thu Mar 05 2015 - 01:17:36 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 05 2015 - 01:24:11 CET