]> git.lizzy.rs Git - plan9front.git/commitdiff
u9fs: fix compilation warnings
authorftrvxmtrx <ftrvxmtrx@gmail.com>
Sat, 4 May 2013 00:53:05 +0000 (02:53 +0200)
committerftrvxmtrx <ftrvxmtrx@gmail.com>
Sat, 4 May 2013 00:53:05 +0000 (02:53 +0200)
sys/src/cmd/unix/u9fs/oldfcall.c
sys/src/cmd/unix/u9fs/safecpy.c

index d9c8ca3b1e440e4604ac63d6f936731eb58f080f..4ed48fb3114d002f69b6c3a5c2dc6398a679f025 100644 (file)
@@ -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.
index a7513494dc74701641e4486022af586a76001ce3..b7daeea5ca768388ad1fabbb6a128790b3b5f105 100644 (file)
@@ -1,4 +1,4 @@
-#include <stdio.h>
+#include <string.h>
 
 void
 safecpy(char *to, char *from, int tolen)