rhashtable: Fix undeclared EEXIST build error on ia64
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Mar 2015 22:18:45 +0000 (18:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2015 22:18:45 +0000 (18:18 -0400)
We need to include linux/errno.h in rhashtable.h since it doesn't
always get included otherwise.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h

index c3034de2c2359ea09a31da342add1499f2244a59..89d102270570aa114aae729f7cee67d38a42b347 100644 (file)
@@ -18,6 +18,7 @@
 #define _LINUX_RHASHTABLE_H
 
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/list_nulls.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>