aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/socket
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/socket')
-rw-r--r--hicn-light/src/socket/api.h3
1 files changed, 2 insertions, 1 deletions
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 */