[multicat-devel] [PATCH] multicat: Add sys/uio.h header for writev prototype
Ed Maste
emaste at freebsd.org
Thu Jul 7 02:51:46 CEST 2016
Missing this header produces a warning on FreeBSD. The prototype is
probably provided on Linux via header leakage.
---
multicat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/multicat.c b/multicat.c
index 9e73d82..7e4dd82 100644
--- a/multicat.c
+++ b/multicat.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/uio.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
--
2.8.1
More information about the multicat-devel
mailing list