aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.