make tcp apps depend on LWIP_CALLBACK_API, too

This commit is contained in:
goldsimon
2017-02-28 12:19:16 +01:00
parent f85eed0ab3
commit 1741edf159
4 changed files with 13 additions and 8 deletions

View File

@@ -53,7 +53,7 @@
#include <string.h>
/* Currently, only TCP-over-IPv4 is implemented (does iperf support IPv6 anyway?) */
#if LWIP_IPV4 && LWIP_TCP
#if LWIP_IPV4 && LWIP_TCP && LWIP_CALLBACK_API
/** Specify the idle timeout (in seconds) after that the test fails */
#ifndef LWIPERF_TCP_MAX_IDLE_SEC
@@ -658,4 +658,4 @@ lwiperf_abort(void* lwiperf_session)
}
}
#endif /* LWIP_IPV4 && LWIP_TCP */
#endif /* LWIP_IPV4 && LWIP_TCP && LWIP_CALLBACK_API */