commit fb4ca81fe8f98dd46e3b7d536d219b8cc3a33137 parent acca463813ab252ce7beff7090f1905e2e0f46fe Author: sin <sin@2f30.org> Date: Wed, 7 Oct 2015 15:20:09 +0100 Include fcntl.h for open(2) It was implicitly included via sys/file.h on my system. Diffstat:
M | flock.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/flock.c b/flock.c @@ -3,6 +3,7 @@ #include <sys/wait.h> #include <errno.h> +#include <fcntl.h> #include <stdio.h> #include <unistd.h>