tests: posix: common: reorder headers to avoid LOG_ERR conflict
The log subsystem defines LOG_ERR as a macro, which conflicts with the standard POSIX LOG_ERR log level (3). Reorder includes to avoid errors. Signed-off-by: Chris Friedt <chrisfriedt@gmail.com>
This commit is contained in:
parent
d8b3efcbb0
commit
22d51c11b0
|
@ -5,8 +5,8 @@
|
|||
*/
|
||||
|
||||
#include <zephyr/posix/syslog.h>
|
||||
#include <zephyr/posix/unistd.h>
|
||||
#undef LOG_ERR
|
||||
#include <zephyr/posix/unistd.h>
|
||||
#include <zephyr/ztest.h>
|
||||
|
||||
#define N_PRIOS 8
|
||||
|
|
Loading…
Reference in a new issue