diff options
author | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2013-05-04 02:53:05 +0200 |
---|---|---|
committer | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2013-05-04 02:53:05 +0200 |
commit | 9186ae13554adbd864cf63c3145c4285f115817c (patch) | |
tree | cfaa8d7f1aca780669d6ce1600068f2b7dfc4226 /sys/src/cmd/unix | |
parent | f33e22c444fd76db0c6959ee2f148852dde40c3d (diff) |
u9fs: fix compilation warnings
Diffstat (limited to 'sys/src/cmd/unix')
-rw-r--r-- | sys/src/cmd/unix/u9fs/oldfcall.c | 1 | ||||
-rw-r--r-- | sys/src/cmd/unix/u9fs/safecpy.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/unix/u9fs/oldfcall.c b/sys/src/cmd/unix/u9fs/oldfcall.c index d9c8ca3b1..4ed48fb31 100644 --- a/sys/src/cmd/unix/u9fs/oldfcall.c +++ b/sys/src/cmd/unix/u9fs/oldfcall.c @@ -1,6 +1,7 @@ #include <plan9.h> #include <fcall.h> #include <oldfcall.h> +#include <stdlib.h> /* * routines to package the old protocol in the new structures. diff --git a/sys/src/cmd/unix/u9fs/safecpy.c b/sys/src/cmd/unix/u9fs/safecpy.c index a7513494d..b7daeea5c 100644 --- a/sys/src/cmd/unix/u9fs/safecpy.c +++ b/sys/src/cmd/unix/u9fs/safecpy.c @@ -1,4 +1,4 @@ -#include <stdio.h> +#include <string.h> void safecpy(char *to, char *from, int tolen) |