aboutsummaryrefslogtreecommitdiffstats
path: root/core/include
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-04-08 15:24:20 -0700
committerEric W. Biederman <ebiederm@xmission.com>2011-04-09 18:27:07 -0700
commite23d01c50f80fa14cefa0e62fb8741a28eaa9776 (patch)
tree0713990bafdaf4e8239294aeaf83be558ad961f8 /core/include
parent71b54fdaeb8b82293f1a19df401b3645d8096144 (diff)
downloadsyslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.tar.gz
syslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.tar.xz
syslinux-e23d01c50f80fa14cefa0e62fb8741a28eaa9776.zip
core thread: Don't include core.h from thread.h
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>
Diffstat (limited to 'core/include')
-rw-r--r--core/include/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/include/thread.h b/core/include/thread.h
index db4ef5e2..cdc3a901 100644
--- a/core/include/thread.h
+++ b/core/include/thread.h
@@ -3,7 +3,8 @@
#include <stddef.h>
#include <inttypes.h>
-#include "core.h"
+#include <stdbool.h>
+#include <timer.h>
struct semaphore;