diff options
Diffstat (limited to 'usr.bin/mg/file.c')
-rw-r--r-- | usr.bin/mg/file.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/mg/file.c b/usr.bin/mg/file.c index f67596b40f6..c68d1f67b11 100644 --- a/usr.bin/mg/file.c +++ b/usr.bin/mg/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.95 2014/04/09 20:50:03 florian Exp $ */ +/* $OpenBSD: file.c,v 1.96 2015/03/19 21:22:15 bcallah Exp $ */ /* This file is in the public domain. */ @@ -6,11 +6,17 @@ * File commands. */ -#include "def.h" - +#include <sys/queue.h> #include <sys/stat.h> - +#include <errno.h> #include <libgen.h> +#include <signal.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <unistd.h> + +#include "def.h" size_t xdirname(char *, const char *, size_t); |