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:
Chris Friedt 2024-03-23 15:30:26 -04:00
parent d8b3efcbb0
commit 22d51c11b0

View file

@ -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