diff options
author | Colin Walters <walters@verbum.org> | 2014-12-04 13:12:40 -0500 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-12-04 19:24:46 +0100 |
commit | 1cb636d92d5f40fed65d8a3a8f71a946f6a84e1e (patch) | |
tree | fd1de463d32240940b3cfb9dbe2051e1f62766e5 /src | |
parent | 7eb08da4b388b920c8a894b1500c9cc7dc1f31ef (diff) |
missing: define NET_NAME_UNKNOWN
It's only exposed to userspace since
commit 685343fc3ba61a1f6eef361b786601123db16c28
Author: Tom Gundersen <teg@jklm.no>
AuthorDate: Mon Jul 14 16:37:22 2014 +0200
Commit: David S. Miller <davem@davemloft.net>
CommitDate: Tue Jul 15 16:12:01 2014 -0700
to the kernel.
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/missing.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |