[hackers] [sbase] Include fcntl.h for open(2) || sin

From: <git_AT_suckless.org>
Date: Wed, 7 Oct 2015 16:21:28 +0200 (CEST)

commit fb4ca81fe8f98dd46e3b7d536d219b8cc3a33137
Author: sin <sin_AT_2f30.org>
AuthorDate: Wed Oct 7 15:20:09 2015 +0100
Commit: sin <sin_AT_2f30.org>
CommitDate: Wed Oct 7 15:21:24 2015 +0100

    Include fcntl.h for open(2)
    
    It was implicitly included via sys/file.h on my system.

diff --git a/flock.c b/flock.c
index 5d36bdf..9d025e2 100644
--- a/flock.c
+++ b/flock.c
_AT_@ -3,6 +3,7 @@
 #include <sys/wait.h>
 
 #include <errno.h>
+#include <fcntl.h>
 #include <stdio.h>
 #include <unistd.h>
 
Received on Wed Oct 07 2015 - 16:21:28 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 07 2015 - 16:24:10 CEST