core.h brings in a lot of symbols and causes conflicts when
included into lwip, in particular conflicts on the symbol
lfree.
So do the simple thing and simplify what thread.h brings in to
reduce the change of symbol conflicts.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
#include <stddef.h>
#include <inttypes.h>
-#include "core.h"
+#include <stdbool.h>
+#include <timer.h>
struct semaphore;
#include "thread.h"
#include <limits.h>
+#include <klibc/compiler.h>
__noreturn __exit_thread(void)
{