mirror of
https://github.com/eclipse/tinydtls.git
synced 2025-05-08 19:41:19 +08:00
session.h: Move inclusion of string.h into .c files
string.h is required for memcmp() that is used in session.c and dtls_debug.c. Therefore, the header file needs to be included only in these two files. Change-Id: I11db1c37a7cc13d8fa2826f6d3e38d3765f4a4ec
This commit is contained in:
parent
7667849af3
commit
d055d8d001
@ -28,6 +28,8 @@
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
@ -14,6 +14,8 @@
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "session.h"
|
||||
|
||||
#ifdef HAVE_ASSERT_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user