From 1ac41cb08281bf5460dfea5fc40ff6f8e14873a1 Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Sun, 10 Feb 2019 13:34:22 +0100 Subject: [HICN-49] Remove warnings hicn-light on windows Change-Id: I106713c285ad5cc47cb5ae3aaf9c837685156e36 Signed-off-by: Angelo Mantellini --- hicn-light/src/socket/api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hicn-light/src/socket/api.h') diff --git a/hicn-light/src/socket/api.h b/hicn-light/src/socket/api.h index e1516ebe1..3a1ae92b4 100644 --- a/hicn-light/src/socket/api.h +++ b/hicn-light/src/socket/api.h @@ -34,8 +34,9 @@ #define BUFSIZE 4096 #define MAX_CONNECTIONS \ 255 // We currently limit the number of connections we can establish +#ifndef IF_NAMESIZE #define IF_NAMESIZE 16 - +#endif /* hICN socket helper */ /** hICN configuration options */ -- cgit 1.2.3-korg