aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-10-29 19:28:31 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-10-30 11:06:24 +0000
commitc981b0970e2709d7bc84363eec0f1326adb2505d (patch)
treedfe78b6533238d84bde76294dec3d04a562e694b /src/vcl
parentad8015be47a8d7d4c1f94b51ad9c70e37cc29cbf (diff)
vcl: fix compiling on newer systems
Build fails on ubuntu 17.10... Change-Id: I98dfffa3f8f5f9bca2ba97a856709714fbeec49c Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcom_socket.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/vcom_socket.c b/src/vcl/vcom_socket.c
index afcdc9548e2..de558e7beed 100644
--- a/src/vcl/vcom_socket.c
+++ b/src/vcl/vcom_socket.c
@@ -30,6 +30,9 @@
#include <vcl/vppcom.h>
+#ifndef IOV_MAX
+#define IOV_MAX __IOV_MAX
+#endif
/*
* VCOM_SOCKET Private definitions and functions.