diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/_p9dir.c | 2 | ||||
-rw-r--r-- | src/lib9/ffork-FreeBSD.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib9/_p9dir.c b/src/lib9/_p9dir.c index 83f35602..00d76789 100644 --- a/src/lib9/_p9dir.c +++ b/src/lib9/_p9dir.c @@ -84,6 +84,8 @@ _p9dir(struct stat *st, char *name, Dir *d, char **str, char *estr) static int gid, uid; int sz, fd; + fd = -1; + USED(fd); sz = 0; if(d) memset(d, 0, sizeof *d); diff --git a/src/lib9/ffork-FreeBSD.c b/src/lib9/ffork-FreeBSD.c index 71945edc..476ce7ab 100644 --- a/src/lib9/ffork-FreeBSD.c +++ b/src/lib9/ffork-FreeBSD.c @@ -1,4 +1,5 @@ #include <lib9.h> +#include "9proc.h" extern int __isthreaded; int |