Fix compiler error and warning when CONFIG_NET_SENDFILE=y

This commit is contained in:
Xiang Xiao
2018-11-09 11:17:43 -06:00
committed by Gregory Nutt
parent 9d2e6cf66a
commit d2cfd398ba
6 changed files with 42 additions and 42 deletions
+1
View File
@@ -148,6 +148,7 @@ typedef uint8_t sockcaps_t;
* a given address family.
*/
struct file; /* Forward reference */
struct socket; /* Forward reference */
struct pollfd; /* Forward reference */