iscsi_target: in_aton needs linux/inet.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 23 Jan 2012 00:39:49 +0000 (11:39 +1100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 7 Feb 2012 06:48:30 +0000 (06:48 +0000)
commitc3bc93da24c8f315d9ece741f6e6414a38879ec6
tree4b7fe46a3fec2e222d0e77f721cb09f69e81899a
parent7347b5ff7090b2b399b7921a266255cd55bbd78f
iscsi_target: in_aton needs linux/inet.h

Fixes this error after a recent nfs cleanup:

drivers/target/iscsi/iscsi_target_configfs.c: In function 'lio_target_call_addnptotpg':
drivers/target/iscsi/iscsi_target_configfs.c:214:3: error: implicit declaration of function 'in6_pton' [-Werror=implicit-function-declaration]
drivers/target/iscsi/iscsi_target_configfs.c:239:3: error: implicit declaration of function 'in_aton' [-Werror=implicit-function-declaration]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_configfs.c