From 1cb636d92d5f40fed65d8a3a8f71a946f6a84e1e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 4 Dec 2014 13:12:40 -0500 Subject: missing: define NET_NAME_UNKNOWN It's only exposed to userspace since commit 685343fc3ba61a1f6eef361b786601123db16c28 Author: Tom Gundersen AuthorDate: Mon Jul 14 16:37:22 2014 +0200 Commit: David S. Miller CommitDate: Tue Jul 15 16:12:01 2014 -0700 to the kernel. --- src/shared/missing.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/shared/missing.h b/src/shared/missing.h index a56d265500..cf7387751c 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -566,6 +566,10 @@ static inline int setns(int fd, int nstype) { # define NET_ADDR_RANDOM 1 #endif +#ifndef NET_NAME_UNKNOWN +# define NET_NAME_UNKNOWN 0 +#endif + #ifndef NET_NAME_ENUM # define NET_NAME_ENUM 1 #endif -- cgit v1.2.3-54-g00ecf