mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[IPV4]: Fix build without procfs.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
84299b3bc4
commit
bb7ec6dfb5
2 changed files with 4 additions and 2 deletions
|
@ -45,6 +45,7 @@
|
|||
#include <net/sock.h>
|
||||
#include <net/raw.h>
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
static int fold_prot_inuse(struct proto *proto)
|
||||
{
|
||||
int res = 0;
|
||||
|
@ -390,6 +391,7 @@ out_netstat:
|
|||
rc = -ENOMEM;
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
int snmp_mib_init(void *ptr[2], size_t mibsize, size_t mibalign)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue