1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #13455 from miri64/sock_async/fix/include-sock_async_ctx.h

sock_async: include `sock_async_ctx.h` before sock-types
This commit is contained in:
benpicco 2020-02-24 19:09:33 +01:00 committed by GitHub
commit ad56ba8453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,14 +135,14 @@ typedef struct sock_udp sock_udp_t; /**< forward declare for async */
typedef void (*sock_udp_cb_t)(sock_udp_t *sock, sock_async_flags_t type);
#endif /* defined(MODULE_SOCK_UDP) || defined(DOXYGEN) */
#ifdef SOCK_HAS_ASYNC_CTX
#include "sock_async_ctx.h"
#endif
#include "sock_types.h"
#ifdef MODULE_SOCK_DTLS
#include "sock_dtls_types.h"
#endif /* MODULE_SOCK_DTLS */
#ifdef SOCK_HAS_ASYNC_CTX
#include "sock_async_ctx.h"
#endif
#endif /* defined(SOCK_HAS_ASYNC) || defined(DOXYGEN) */
#if defined (__clang__)