diff options
Diffstat (limited to 'src/vcl/vcom.h')
-rw-r--r-- | src/vcl/vcom.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vcl/vcom.h b/src/vcl/vcom.h index 9a78b718f8e..e945c8a5d08 100644 --- a/src/vcl/vcom.h +++ b/src/vcl/vcom.h @@ -23,6 +23,8 @@ #define VCOM_DEBUG 0 #endif +#include <vppinfra/error.h> +#include <vppinfra/types.h> #include <vcl/vcom_glibc_socket.h> #define MAX_VCOM_APP_NAME 256 @@ -107,7 +109,7 @@ vcom_getpeername (int __fd, __SOCKADDR_ARG __addr, socklen_t * __restrict __len); extern ssize_t -vcom_send (int __fd, const void *__buf, size_t __n, int __flags); +vcom_sendfile (int __out_fd, int __in_fd, off_t * __offset, int __len); extern ssize_t vcom_recv (int __fd, void *__buf, size_t __n, int __flags); |