aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-09-01 17:16:54 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-09-01 17:28:25 +0300
commit6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4 (patch)
tree146231f07962627605b41f014b007fcc4af82252
parent21f3ff37eb0b6759bbe78f995c9b8e1df4a5700a (diff)
downloadrpipe-6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4.tar.gz
rpipe-6cbc8a75bcba2119b4c6596f2a4e0b3278de83d4.tar.bz2
Add missing includeHEADmaster
-rw-r--r--src/net.c1
-rw-r--r--src/rpipe.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/net.c b/src/net.c
index c0f53ce..624368f 100644
--- a/src/net.c
+++ b/src/net.c
@@ -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)));

Return to:

Send suggestions and report system problems to the System administrator.