diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-09-01 17:16:54 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-09-01 17:28:25 +0300 |
commit | 6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4 (patch) | |
tree | 146231f07962627605b41f014b007fcc4af82252 | |
parent | 21f3ff37eb0b6759bbe78f995c9b8e1df4a5700a (diff) | |
download | rpipe-6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4.tar.gz rpipe-6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4.tar.bz2 |
-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))); |