mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
fix compiling fuzz test under Linux after merging contrib to main repo
This commit is contained in:
parent
2be031e238
commit
f857260e29
@ -752,6 +752,7 @@ sys_arch_unprotect(sys_prot_t pval)
|
|||||||
}
|
}
|
||||||
#endif /* SYS_LIGHTWEIGHT_PROT */
|
#endif /* SYS_LIGHTWEIGHT_PROT */
|
||||||
|
|
||||||
|
#if !NO_SYS
|
||||||
/* get keyboard state to terminate the debug app by using select */
|
/* get keyboard state to terminate the debug app by using select */
|
||||||
int
|
int
|
||||||
lwip_unix_keypressed(void)
|
lwip_unix_keypressed(void)
|
||||||
@ -762,3 +763,4 @@ lwip_unix_keypressed(void)
|
|||||||
FD_SET(0, &fds);
|
FD_SET(0, &fds);
|
||||||
return select(1, &fds, NULL, NULL, &tv);
|
return select(1, &fds, NULL, NULL, &tv);
|
||||||
}
|
}
|
||||||
|
#endif /* !NO_SYS */
|
||||||
|
@ -37,7 +37,8 @@ LDFLAGS=-lm
|
|||||||
# use 'make D=-DUSER_DEFINE' to pass a user define to gcc
|
# use 'make D=-DUSER_DEFINE' to pass a user define to gcc
|
||||||
CFLAGS=-O0 $(D)
|
CFLAGS=-O0 $(D)
|
||||||
|
|
||||||
CONTRIBDIR=../../../lwip-contrib
|
LWIPDIR=../../src
|
||||||
|
CONTRIBDIR=../../contrib
|
||||||
include $(CONTRIBDIR)/ports/unix/Common.mk
|
include $(CONTRIBDIR)/ports/unix/Common.mk
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user