diff options
-rw-r--r-- | src/net.c | 1 | ||||
-rw-r--r-- | src/rpipe.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,7 @@ #include <stdlib.h> #include <stdio.h> #include <stddef.h> +#include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> diff --git a/src/rpipe.h b/src/rpipe.h index 7948be5..dd73d10 100644 --- a/src/rpipe.h +++ b/src/rpipe.h @@ -7,6 +7,7 @@ There is NO WARRANTY, to the extent permitted by law. */ #include <stdlib.h> +#include <unistd.h> void error(int status, int err, char const *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); |