提交 925bdd1d 创建 作者: Nickolai Zeldovich's avatar Nickolai Zeldovich

fix build without lqip

上级 d215683d
...@@ -30,8 +30,10 @@ extern "C" { ...@@ -30,8 +30,10 @@ extern "C" {
extern "C" { extern "C" {
#include "net.h" #include "net.h"
#ifdef LWIP
err_t if_init(struct netif *netif); err_t if_init(struct netif *netif);
void if_input(struct netif *netif, void *buf, u16 len); void if_input(struct netif *netif, void *buf, u16 len);
#endif
} }
void void
...@@ -453,7 +455,7 @@ netwrite(int sock, char *buf, int len) ...@@ -453,7 +455,7 @@ netwrite(int sock, char *buf, int len)
} }
int int
netread(int sock, const char *buf, int len) netread(int sock, char *buf, int len)
{ {
return -1; return -1;
} }
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论